GET
/
emails
/
{id}
curl --request GET \
  --url https://mailcare.io/api/teams/{teamId}/emails/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "sender": {
      "id": "<string>",
      "display_name": "<string>",
      "email": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "inbox": {
      "id": "<string>",
      "display_name": "<string>",
      "email": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "carbon_copies": [
      {
        "display_name": "<string>",
        "email": "<string>"
      }
    ],
    "subject": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "read": "2023-11-07T05:31:56Z",
    "favorite": true,
    "has_html": true,
    "has_text": true,
    "size_in_bytes": 123,
    "attachments": [
      {
        "id": "<string>",
        "email_id": "<string>",
        "headers_hashed": "<string>",
        "file_name": "<string>",
        "content_type": "<string>",
        "size_in_bytes": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "size_for_human": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/vnd.mailcare.v1+json

Successful response

The response is of type object.