Retrieve a draft
One draft with its body, also after it was sent (status sent, email_id set).
/inboxes/{inbox_id}/drafts/{draft_id}AuthorizationToken Bearer · headerobligatorioA BillionSend API key (bs_…).
inbox_idstringobligatorioThe inbox ID or its email address, such as support@example.com
draft_idstring<uuid>obligatorioDraft
objectstringobligatorioinbox_draftidstring<uuid>obligatoriotypestringobligatoriostandalonereplytostring[] | nullobligatorioccstring[]obligatoriobccstring[]obligatoriosubjectstring | nullobligatoriohtmlstring | nullobligatoriotextstring | nullobligatoriothread_idstring<uuid> | nullobligatorioreply_to_email_idstring<uuid> | nullobligatorioemail_idstring<uuid> | nullobligatoriocreated_atstringobligatorioupdated_atstringobligatorioattachmentsobject[]obligatorioThe draft's files, by position; empty once it is sent, rejected or expired
Mostrar propiedadesOcultar propiedades
objectidstringobligatoriofilenamestringobligatoriocontent_typestringobligatoriosizeintegerobligatoriostatusstringobligatoriodraftpending_approvalsentrejectedexpiredapproval_reasonsstring[]obligatorioforwardbooleanobligatoriodecided_bystring | nullobligatoriodecided_atstring | nullobligatorioexpires_atstring | nullobligatoriosend_atstring | nullobligatorioBillionSend extension: when the scheduled send goes out; null when not scheduled
send_errorstring | nullobligatorioBillionSend extension: the error name of the last scheduled send that was refused (e.g. invalid_api_key, inbox_send_cap_reached, not_found); null otherwise
Missing, malformed, unknown or revoked API key
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioRestricted API key, the inbox's or the shared domain's rules, or held mail
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioNot found
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioIdempotency conflict, or a draft already sent
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioValidation error
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorioThe inbox's daily send limit, or the team's daily limit for mail from the shared domain, or the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio