Skip to main content

Agent SMS lines

A Seller Account enrolled in agent phone lines can send a text message from its assigned number with POST /api/v2/communications/messages. Existing API calls do not change. Ask Apostra to enable agent phone lines and assign a text number before using this command. There is no self-service number picker yet. The API credential needs interchange:write and must belong to the same Seller Account as the line. The destination must be an E.164 telephone number, such as +12025550101. Apostra rejects a recipient who has opted out of messages from that line.
An accepted request returns HTTP 202 after the message is saved to the outbound queue:
pending means Apostra has queued the message. It does not mean the carrier accepted it or the recipient received it. A retry with the same requestId, line, destination, and text returns the same outboxId with duplicate: true. Changing any of those fields while reusing the UUID returns 409.

Errors and retries

Apostra stores message content and recipient identity in protected form before carrier submission. This command does not currently provide a public status lookup endpoint. Keep the outboxId from the response for support and reconciliation.