status and events are fed by the tracking module, so they advance past queued only once delivery data has been reported back. metadata is echoed verbatim — use it to correlate with your own record.retainBody: false, status and timeline are still returned; subject and the body are not. type and basis are always returned — they are the audit record.curl --location '/messages/9c1a7e40-2b8e-4f1a-9d33-7c5b0a41e6f2' \
--header 'Authorization: Bearer <token>'{
"messageId": "string",
"channel": "email",
"type": "transactional",
"basis": "string",
"status": "scheduled",
"contactId": "string",
"to": "string",
"from": "string",
"subject": "string",
"templateId": 0,
"tags": [
"string"
],
"metadata": {},
"encoding": "GSM7",
"segments": 0,
"createdAt": "string",
"scheduledFor": "string",
"sentAt": "string",
"events": [
{
"event": "queued",
"at": "string",
"detail": "string"
}
]
}