cURL
curl --request GET \ --url https://dev.exante.app/api/email/drafts/{uid} \ --header 'Authorization: Bearer <token>'
{ "uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "from_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "from_email": "<string>", "to": [ "<string>" ], "cc": [ "<string>" ], "bcc": [ "<string>" ], "subject": "<string>", "body_text": "<string>", "body_html": "<string>", "context_type": "<string>", "context_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "planned_send_at": "2023-11-07T05:31:56Z", "status": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
uid
{ "uid": "draft-uuid", "from_account_id": "account-uuid", "from_email": "sender@mycompany.com", "to": ["customer@example.com"], "cc": ["manager@mycompany.com"], "bcc": [], "subject": "Invoice INV-2024-001 - Payment Reminder", "body_text": "Hi,\n\nThis is a reminder that your invoice is due...", "body_html": "<html><body>...</body></html>", "context_type": "invoice", "context_id": "invoice-uuid", "planned_send_at": "2024-03-26T09:00:00Z", "status": "draft", "created_at": "2024-03-25T10:30:00Z", "updated_at": "2024-03-25T14:45:00Z" }
404
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Draft details