Skip to main content
GET
/
api
/
v1
/
emails
/
{id}
Get email
curl --request GET \
  --url https://api.torpedo.co.mz/api/v1/emails/{id} \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "from": "Acme <hello@myapp.com>",
    "to": "user@example.com",
    "subject": "Welcome to Acme",
    "providerId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "sentAt": "2023-11-07T05:31:56Z",
    "deliveredAt": "2023-11-07T05:31:56Z",
    "html": "<string>",
    "text": "<string>",
    "failedReason": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Prefix tor_ followed by a base64url-encoded random key. Obtain one from POST /api/v1/workspaces or POST /api/v1/auth/keys.

Path Parameters

id
string<uuid>
required

Response

Email details

data
object