Create a draft
Create a draft for a person to review and send. Nothing is sent, so it needs only the inbound:read scope: give an agent a key without email:send and every message it writes waits here for approval. Omit thread_id for a new conversation; send thread_id and reply_to_email_id together for a reply (recipients are not copied, set to before sending). At least one of to, cc, bcc, subject, text or html must be non-empty; 50 recipients at most; subject up to 900 characters (Resend allows 2000; a longer subject could never be sent here). Returns 201 for a new draft, or 200 when an unsent reply draft for that message already exists, updated with the fields sent.
Request
- Base URL: https://smtpfa.st/api
- URL: https://smtpfa.st/api/v1/inboxes/{inbox_id}/drafts
- Auth: HTTP bearer
Path parameters
The inbox id or its email address
Request body
Response
The existing reply draft, updated
Example response
{
"object": "inbox_draft"
}Changes
No recorded changes to this operation across all 1 revision of this API.