Sends a single message (returns 201) or a batch of up to 1000 messages (returns 202). Messages are enqueued for delivery. Workspaces whose sending is handled inline rather than queued accept at most 200 messages per batch and send them 10 at a time, so a full batch completes well inside the request budget; a larger batch on such a workspace is refused with 400 batch_too_large before anything is sent, and should be split. Each item may carry an idempotency_key so a retried batch can be regrouped freely: matching items replay their original id with deduplicated=true, conflicting items are rejected individually, and the response counts accepted and rejected items. Authenticating with a test API key (prefix beeptest) simulates the full send lifecycle without a provisioned number and without delivering or billing anything; reserved magic numbers select deterministic outcomes (see the Testing with test keys & magic numbers guide). Email: a message with channel "email" is sent as an email, one per request, and answers 201 with status sent, queued or suppressed. It answers 403 feature_not_enabled while email is not turned on for the organization, 400 when the workspace is not set up to send it (no sending address, a sending domain that is not verified, or, for marketing email, no postal address or verified web domain), 422 send_rejected when the email provider refused it, and 503 service_unavailable when it could not be handed to the email sender; in each of those cases nothing was sent.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||