Send an email
/emailsAuthorizationToken Bearer · headerobrigatórioA BillionSend API key (bs_…).
Idempotency-Keystring1 to 256 characters. A retry with the same key and the same body answers the original response instead of sending again; the same key with a different body answers 409 invalid_idempotent_request.
application/jsonfromstringobrigatórioSender, "Name <user@domain>" or bare address; the domain must be verified for the team
tostring | string[]obrigatórioRecipient address or list of up to 50
Mostrar propriedadesOcultar propriedades
stringstringstringsubjectstringobrigatórioSubject line
htmlstringHTML body; at least one of html/text is required
textstringPlain-text body; at least one of html/text is required
ccstring | string[]Cc address or list
Mostrar propriedadesOcultar propriedades
stringstringstringbccstring | string[]Bcc address or list
Mostrar propriedadesOcultar propriedades
stringstringstringreply_tostring | string[]Reply-To address or list
Mostrar propriedadesOcultar propriedades
stringstringstringscheduled_atstringDeliver later: ISO 8601 with offset, or relative like "in 2 hours" (an ISO 8601 datetime with offset (e.g. "2026-09-01T12:00:00Z") or a relative time like "in 5 mins", "in 2 hours", or "in 1 day"); max 30 days ahead
tagsobject[]Key/value labels attached to the email for filtering; names starting with billionsend_, in any letter case, are reserved
Mostrar propriedadesOcultar propriedades
objectnamestringobrigatóriovaluestringobrigatóriotopic_idstring<uuid> | nullTopic id: recipients opted out of the topic are skipped; a send to one address that is a contact also gets that contact's unsubscribe link. A topic bound to a domain (domain_id) can be sent only from that domain (422 otherwise)
attachmentsobject[]Attachments with base64 content (no remote paths)
Mostrar propriedadesOcultar propriedades
objectfilenamestring | boolean | nullMostrar propriedadesOcultar propriedades
stringbooleannullcontentstringcontent_typestringcontent_idstringInline part: the HTML shows it with <img src="cid:<content_id>">
pathstringheadersobjectExtra message headers (transport headers are rejected)
templateanyNot supported: any value is a 422; an email takes html and/or text
Email accepted
idstring<uuid>obrigatórioIdempotency-Key is not 1 to 256 characters
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioMissing, malformed, unknown or revoked API key
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioRestricted API key
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioNot found
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioIdempotency conflict
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioValidation error
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatórioSending quota exceeded, or the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberobrigatórionamestringobrigatóriomessagestringobrigatório