Get email
GET
Get one email of the project: its status, and when it is scheduled for or was sent.
ApiKeyAuthheader
AuthorizationBearer <API Key>API Key authentication. The project is automatically derived from the key.
/v1/track requires a public key (pk_*) — it is the one endpoint intended for client-side use, and a secret key is rejected there with 401.
Every other endpoint requires a secret key (sk_*) and rejects public keys with 401.
So the two key types are not interchangeable in either direction: pick the key that matches the endpoint you are calling.
id*stringEmail ID, as returned by POST /v1/send.
Format
uuidThe email
application/json- response
id?stringstatus?stringValue in
"SCHEDULED""CANCELLED""PENDING""SENDING""SENT""DELIVERED""OPENED""CLICKED""BOUNCED""COMPLAINED""FAILED"sourceType?stringValue in
"TRANSACTIONAL""CAMPAIGN""WORKFLOW""INBOUND"subject?stringcontact?scheduledFor?|When a scheduled email is (or was) due.
Format
date-timesentAt?|Format
date-timecreatedAt?stringFormat
date-timecurl -X GET 'https://api.send.47signals.com/emails/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example response
{ "id": "string", "status": "SCHEDULED", "sourceType": "TRANSACTIONAL", "subject": "string", "contact": { "id": "string", "email": "string" }, "scheduledFor": "2019-08-24T14:15:22Z", "sentAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z"}