Conversations in Amplifi represent the two-way SMS threads between your organization and individual contacts. Each conversation is keyed by a contact’s phone number and contains both inbound messages received from the contact and outbound messages sent by your team or campaigns. The conversations API lets you list active threads, fetch message history, and send replies programmatically.Documentation Index
Fetch the complete documentation index at: https://docs.messagesender.ai/llms.txt
Use this file to discover all available pages before exploring further.
List conversations
Query parameters
When
true, returns only conversations that have unread inbound messages.When
true, returns only conversations where the last message was inbound (contact replied but your team has not yet responded).Search conversations by contact name or phone number.
When
true, includes archived conversations. Defaults to false.Response
Get conversation messages
Path parameters
The contact’s phone number. Accepts any standard US format; it is normalized to E.164 internally.
Query parameters
Number of messages to return per page. Default
50, max 200.Keyset pagination cursor from a previous response. Pass the
cursor value to fetch older messages.Response
Response fields
incoming for messages received from the contact, outgoing for messages sent by your organization.Delivery status for outgoing messages:
sent, delivered, failed, or undelivered. null for incoming messages.Detected sentiment of inbound messages:
positive, negative, or neutral. null if not yet analyzed.true if this inbound message was detected as an opt-out request (e.g. STOP, UNSUBSCRIBE).true if the platform has flagged this inbound message as needing a reply.The organization’s configured timezone, useful for displaying timestamps in local time.
Send a reply
phoneNumber. The contact must exist in your organization and must be textable (isTextable: true) and opted in (isOptedIn: true).
Replies sent through this endpoint bypass quiet hours and are delivered immediately, regardless of the time of day. Use this for time-sensitive individual responses, not bulk outreach.
Path parameters
The recipient’s phone number. Accepts any standard US format.
Request body
The message text to send. Must be a non-empty string.
UUID of the sending phone number. Defaults to your organization’s default phone number.
Public URL of media to attach. When provided, the message is sent as MMS.
When
true (default), normalizes smart quotes and non-ASCII characters before sending.Override routing:
AUTO (default), SMS, or MMS.Example request
Response
Error responses
| Status | Code | Meaning |
|---|---|---|
400 | CONTACT_NOT_FOUND | No contact exists with this phone number. Create the contact first. |
400 | CONTACT_OPTED_OUT | The contact has opted out and cannot receive messages. |
400 | CONTACT_NON_TEXTABLE | The contact’s number is confirmed non-textable (landline, VOIP, etc.). |
400 | NO_FROM_NUMBER | Your organization has no default phone number configured. |
402 | — | Insufficient credits to send the message. |
403 | — | The specified fromPhoneNumberId does not belong to your organization. |
URLs included in reply messages are automatically shortened using your organization’s configured link-shortening service, enabling click tracking.