Sinch Conversation API

One API for messaging across SMS, RCS, WhatsApp, Viber, Messenger, Instagram, Telegram and other channels: send and receive messages, manage apps, contacts and conversations. The recommended starting point for new messaging integrations.

GitHub OpenAPI

Operations 42

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/projects/{project_id}/messages:send Send a message to a contact · Send a message #
Ask an LLM
“How do I send a text to a WhatsApp number through Conversation API?”
“Can I send a message to a contact who isn't in my contact list yet?”
Tell an agent
Send a {message} from app {app_id} to {recipient} in project {project_id}.
Message {recipient} with {message} using channel priority {channel_priority_order}.
PATCH /v1/projects/{project_id}/messages/{message_id} Update a message's metadata · Update message metadata #
Ask an LLM
“How do I attach metadata to a message after it's sent?”
“Can I change the metadata on a message I already sent?”
Tell an agent
Update the metadata of message {message_id} in project {project_id} to {metadata}.
Set message {message_id} metadata to {metadata} in {messages_source}.
GET /v1/projects/{project_id}/messages/{message_id} Get a sent or received message · Get a message #
Ask an LLM
“What did a specific message in my project say?”
“Can I look up a message by its ID?”
Tell an agent
Get message {message_id} in project {project_id}.
Show the text of message {message_id} from {messages_source}.
DELETE /v1/projects/{project_id}/messages/{message_id} Delete a message from storage · Delete a message #
Ask an LLM
“Can I remove a message from Conversation API storage?”
“Does deleting a message also delete it from the recipient's phone?”
Tell an agent destructive · confirm first
Delete message {message_id} from project {project_id}.
Remove stored message {message_id} in {messages_source}.
GET /v1/projects/{project_id}/messages List messages in a project · List messages #
Ask an LLM
“Which messages have been sent or received in my project?”
“Can I list only messages from one channel or direction?”
Tell an agent
List all messages in project {project_id}.
List {direction} messages from {channel} in project {project_id}.
POST /v1/projects/{project_id}/messages:fetch-last-message Get the last message to a channel identity · List messages by channel identity #
Ask an LLM
“What was the most recent message sent to a WhatsApp number?”
“Can I fetch the last message for several channel identities at once?”
Tell an agent
Get the last message sent to {channel_identities}.
Show the latest message for {channel_identities} in project {project_id}.
GET /v1/projects/{project_id}/apps List Conversation API apps in a project · List all apps for a given project #
Ask an LLM
“Which Conversation API apps exist in my project?”
“What app IDs do I have for sending messages?”
Tell an agent
List all apps in project {project_id}.
Show the app IDs available for sending messages in {project_id}.
POST /v1/projects/{project_id}/apps Create a Conversation API app · Create an app #
Ask an LLM
“How do I create a new app to send messages on WhatsApp?”
“Can I set a retention policy when creating an app?”
Tell an agent
Create app {display_name} in project {project_id} with channel credentials {channel_credentials}.
Create app {display_name} on {project_id} using {channel_credentials} and retention policy {retention_policy}.
GET /v1/projects/{project_id}/apps/{app_id} Get a Conversation API app · Get an app #
Ask an LLM
“What settings does one of my Conversation API apps have?”
“Can I look up an app by its ID?”
Tell an agent
Get app {app_id} in project {project_id}.
Show the configuration of app {app_id} in {project_id}.
DELETE /v1/projects/{project_id}/apps/{app_id} Delete a Conversation API app · Delete an app #
Ask an LLM
“How do I delete an app I no longer use?”
“Will deleting an app also delete its contacts?”
Tell an agent destructive · confirm first
Delete app {app_id} from project {project_id}.
Remove the unused app {app_id} in {project_id}.
PATCH /v1/projects/{project_id}/apps/{app_id} Update a Conversation API app · Update an app #
Ask an LLM
“Can I change the channel priority of an existing app?”
“How do I add new channel credentials to an app?”
Tell an agent
Update app {app_id} in project {project_id} with channel credentials {channel_credentials}.
Set the retention policy of app {app_id} in {project_id} to {retention_policy}.
GET /v1/projects/{project_id}/apps/{app_id}/webhooks List webhooks for an app · List webhooks #
Ask an LLM
“Which webhooks are registered for my Conversation API app?”
“What callback URLs does an app receive messages on?”
Tell an agent
List webhooks for app {app_id} in project {project_id}.
Show the callback URLs registered on app {app_id} in {project_id}.
GET /v1/projects/{project_id}/apps/{app_id}/consents/{list_type} List identities on a consent list · Get identities from consent list #
Ask an LLM
“Which phone numbers are on my opt-out list?”
“Can I see everyone who opted out of marketing messages?”
Tell an agent
List identities on the {list_type} consent list for app {app_id} in project {project_id}.
Show the opt-out list {list_type} for {app_id} in {project_id}.
GET /v1/projects/{project_id}/apps/{app_id}/consents/identities/{identity} Get consent audit records for an identity · Get audit records from consent lists #
Ask an LLM
“What consent actions were taken on a particular phone number?”
“Can I audit opt-in and opt-out history for one contact?”
Tell an agent
Get consent audit records for {identity} in app {app_id}, project {project_id}.
Show the consent history of {identity} for {app_id} in {project_id}.
POST /v1/projects/{project_id}/capability:query Check whether a channel is reachable for a number · Capability lookup #
Ask an LLM
“Is a given phone number reachable on WhatsApp?”
“How do I check which channels a number supports before sending a message?”
Tell an agent
Check reachability of {recipient} for app {app_id} in project {project_id}.
Query channel capability for {recipient} using {app_id} in {project_id}.
GET /v1/projects/{project_id}/contacts List contacts in a project · List Contacts #
Ask an LLM
“Who are all the contacts in my project?”
“Can I find a contact by their external ID?”
Tell an agent
List all contacts in project {project_id}.
Find the contact with external ID {external_id} in {project_id}.
POST /v1/projects/{project_id}/contacts Create a contact manually · Create a Contact #
Ask an LLM
“How do I add a new contact to my project without sending a message first?”
“Can I set a language when creating a contact?”
Tell an agent
Create a contact with identities {channel_identities} and language {language} in project {project_id}.
Add contact {channel_identities} with display name {display_name} in {project_id}.
GET /v1/projects/{project_id}/contacts/{contact_id} Get a contact · Get a Contact #
Ask an LLM
“What identities and language does a specific contact have?”
“Can I look up a contact by its ID?”
Tell an agent
Get contact {contact_id} in project {project_id}.
Show the identities of contact {contact_id} in {project_id}.
DELETE /v1/projects/{project_id}/contacts/{contact_id} Delete a contact · Delete a Contact #
Ask an LLM
“How do I remove a contact from my project?”
“Can I delete a contact without deleting the messages it received?”
Tell an agent destructive · confirm first
Delete contact {contact_id} from project {project_id}.
Remove the contact {contact_id} in {project_id}.
PATCH /v1/projects/{project_id}/contacts/{contact_id} Update a contact's identities or language · Update a Contact #
Ask an LLM
“Can I change the language a contact is recorded in?”
“How do I add another WhatsApp number to an existing contact?”
Tell an agent
Update contact {contact_id} in project {project_id} with language {language}.
Add identities {channel_identities} to contact {contact_id} in {project_id}.
POST /v1/projects/{project_id}/contacts/{destination_id}:merge Merge two contacts into one · Merge two Contacts #
Ask an LLM
“How do I merge a casual contact into a customer so their messages stay together?”
“Does merging contacts move channel identities that the destination doesn't already have?”
Tell an agent destructive · confirm first
Merge contact {source_id} into {destination_id} in project {project_id}.
Merging {source_id} into {destination_id} using strategy {strategy} in {project_id}.
POST /v1/projects/{project_id}/contacts:getChannelProfile Get a user's profile on a channel · Get Channel Profile #
Ask an LLM
“How do I get the profile of a user on Messenger or Instagram?”
“Can I fetch a user's profile from a specific channel?”
Tell an agent
Get the {channel} profile for {recipient} on app {app_id} in project {project_id}.
Fetch the user profile of {recipient} on {channel} for app {app_id}.
GET /v1/projects/{project_id}/contacts:identityConflicts List phone number conflicts across channels · Lists Contact Identity Conflicts #
Ask an LLM
“Which phone numbers are used by more than one contact on SMS or RCS?”
“How do I find contact identity conflicts before enabling Unified Contact ID?”
Tell an agent
List contact identity conflicts in project {project_id}.
Show conflicts for SIM-based channels in project {project_id}.
GET /v1/projects/{project_id}/conversations List conversations · List conversations #
Ask an LLM
“How do I list all conversations in an app?”
“Can I list only active conversations for a contact?”
Tell an agent
List conversations in project {project_id}.
List conversations for contact {contact_id} in project {project_id}.
POST /v1/projects/{project_id}/conversations Create an empty conversation · Create a conversation #
Ask an LLM
“How do I create an empty conversation before the first message?”
“Can I set metadata on a conversation that doesn't exist yet?”
Tell an agent
Create an empty conversation in project {project_id}.
Create a conversation between {app_id} and {contact_id} in project {project_id}.
GET /v1/projects/{project_id}/conversations/{conversation_id} Get a conversation · Get a conversation #
Ask an LLM
“How do I read the messages in a specific conversation?”
“What participants are in a conversation?”
Tell an agent
Get conversation {conversation_id} in project {project_id}.
Show the messages in conversation {conversation_id}.
DELETE /v1/projects/{project_id}/conversations/{conversation_id} Delete a conversation and its messages · Delete a conversation #
Ask an LLM
“How do I delete a conversation and all its messages?”
“Can I remove a conversation record entirely?”
Tell an agent destructive · confirm first
Delete conversation {conversation_id} in project {project_id}.
Remove conversation {conversation_id} and its messages.
PATCH /v1/projects/{project_id}/conversations/{conversation_id} Update a conversation's metadata · Update a conversation #
Ask an LLM
“How do I change the metadata on an existing conversation?”
“Can I reactivate a conversation that was stopped?”
Tell an agent
Update conversation {conversation_id} in project {project_id}.
Set metadata {metadata} on conversation {conversation_id}.
GET /v1/projects/{project_id}/conversations:recent List conversations by most recent message · List recent conversations #
Ask an LLM
“Which conversations had the most recent message from my app?”
“Can I sort conversations by when their last message was sent?”
Tell an agent
List recent conversations for app {app_id} in project {project_id}.
Show the last message of each conversation for app {app_id}.
POST /v1/projects/{project_id}/conversations/{conversation_id}:inject-event Inject an app event into a conversation · Inject an event #
Ask an LLM
“How do I inject an app event into a conversation without sending a message?”
“Can I fire an event into a conversation from my own system?”
Tell an agent
Inject an event into conversation {conversation_id} in project {project_id}.
Fire an app event into conversation {conversation_id}.
POST /v1/projects/{project_id}/conversations/{conversation_id}:stop Stop an active conversation · Stop conversation #
Ask an LLM
“How do I stop an active conversation so a new one starts?”
“Can I end a conversation that is still active?”
Tell an agent
Stop conversation {conversation_id} in project {project_id}.
End the active conversation {conversation_id}.
POST /v1/projects/{project_id}/conversations/{conversation_id}:inject-message Inject a message into a conversation · Inject a message #
Ask an LLM
“How do I inject a message into a conversation that arrived out of band?”
“Can I set the accept time when injecting a message?”
Tell an agent
Inject a {direction} message into conversation {conversation_id} in project {project_id}.
Inject a {direction} message from {sender_id} into conversation {conversation_id} at {accept_time}.
POST /v1/projects/{project_id}/events:send Send an event to a contact · Send an event #
Ask an LLM
“How do I send an event to a contact from my app?”
“Can I queue an event for a contact on a specific channel?”
Tell an agent
Send event {event} to {recipient} from app {app_id} in project {project_id}.
Queue event {event} for {recipient} on channel priority {channel_priority_order}.
POST /v1/projects/{project_id}/messages:transcode Transcode a message to channel formats · Transcode a message #
Ask an LLM
“How do I see what a message would look like on each channel before sending?”
“Can I transcode a message for several channels at once?”
Tell an agent
Transcode {app_message} for channels {channels} in project {project_id}.
Show how {app_message} would be rendered on {channels}.
POST /v1/projects/{project_id}/webhooks Create a webhook for callbacks · Create a new webhook #
Ask an LLM
“How do I receive callbacks when a contact replies?”
“How many webhooks can an app have?”
Tell an agent
Create a webhook at {target} for app {app_id} in project {project_id}.
Create a webhook at {target} that triggers on {triggers}.
GET /v1/projects/{project_id}/webhooks/{webhook_id} Get a webhook · Get a webhook #
Ask an LLM
“How do I view one webhook's settings?”
“What triggers does a given webhook listen for?”
Tell an agent
Get webhook {webhook_id} in project {project_id}.
Show the triggers of webhook {webhook_id}.
PATCH /v1/projects/{project_id}/webhooks/{webhook_id} Update a webhook's settings · Update an existing webhook #
Ask an LLM
“How do I change the target URL of an existing webhook?”
“Can I rotate the secret on a webhook?”
Tell an agent
Update webhook {webhook_id} in project {project_id}.
Set the target of webhook {webhook_id} to {target}.
DELETE /v1/projects/{project_id}/webhooks/{webhook_id} Delete a webhook · Delete an existing webhook #
Ask an LLM
“How do I stop receiving callbacks by removing a webhook?”
“Can I delete a webhook I no longer use?”
Tell an agent destructive · confirm first
Delete webhook {webhook_id} in project {project_id}.
Remove webhook {webhook_id}.
GET /v1/projects/{project_id}/settings Get a project's settings · Get Project Settings #
Ask an LLM
“What contact management settings are enabled for my project?”
“Is Unified Contact ID turned on for this project?”
Tell an agent
Get the settings for project {project_id}.
Show contact management settings in project {project_id}.
POST /v1/projects/{project_id}/settings Create initial project settings · Create Project Settings #
Ask an LLM
“How do I enable Unified Contact ID for a new project?”
“What settings are created when I first set up a project?”
Tell an agent
Create initial settings for project {project_id}.
Enable Unified Contact ID for project {project_id}.
PATCH /v1/projects/{project_id}/settings Update a project's settings · Update Project Settings #
Ask an LLM
“How do I turn on Unified Contact ID for an existing project?”
“Can I change how contacts are managed in my project?”
Tell an agent
Update the settings of project {project_id}.
Set contact settings {settings} in project {project_id}.
DELETE /v1/projects/{project_id}/settings Reset a project's settings · Delete Project Settings #
Ask an LLM
“How do I clear all project-level settings for a Conversation API project?”
“Can I remove the contact settings from a project?”
Tell an agent destructive · confirm first
Delete the settings of project {project_id}.
Reset project {project_id} to its default settings.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sinch:sinch-conversation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sinch-conversation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: "# Overview\n\nSend and receive messages globally over SMS, RCS, WhatsApp, Viber Business, Facebook messenger and other [popular channels](https://developers.sinch.com/docs/conversation/channel-support/) using the Sinch Conversation API.\n\n{% admonition type=\"info\" name=\"Note:\" %}\n\nIf you would like help setting up your Conversation API solution, and want to quickly get started sending and receiving messages, review our [Getting Started guide](https://developers.sinch.com/docs/conversation/getting-started/).\n\n{% /admonition %}\n\nThe Conversation API endpoint uses built-in transcoding to give you the power of conversation across all supported channels and, if required, full control over channel specific features.\n\n## Authentication\n\n## OAuth2.0 authentication\n\n{% partial file=\"/partials/authentication/oauth/_intro.md\"/ %}\n\n{% partial file=\"/partials/authentication/oauth/_instructions.md\"/ %}\n\n## Basic authentication\n\n{% partial file=\"/partials/authentication/basic/_intro.md\"/ %}\n\n{% partial file=\"/partials/authentication/basic/_instructions.md\"/ %}\n\n## Base URL\n\nThe following URLs can be used when making calls to the Conversation API:\n\n|Server|URL|\n|------|---|\n|Conversation API (US Production)|`https://us.conversation.api.sinch.com`|\n|Conversation API (EU Production)|`https://eu.conversation.api.sinch.com`|\n|Conversation API (BR Production)|`https://br.conversation.api.sinch.com`|\n\nNote that, when making a call to the Conversation API or Template Management API, you must target the regional server that corresponds to the region in which you created your Conversation API app.\n\n## Postman collection\n\nSinch offers a Postman collection for easy setup and testing during development. Our [Postman collection page](https://developers.sinch.com/docs/conversation/postman-collection) has a link to the JSON format of the collection.\n\nAfter importing the collection into Postman, fill in the following variables:\n\n| Variable | Value |\n| -------- | ----- |\n| <code>PROJECT</code> | Your PROJECT ID |\n| <code>APP</code> | Your app ID |\n| <code>CLIENT_ID</code> | Your CLIENT_ID |\n| <code>CLIENT_SECRET</code> | Your client secret |\n\nFor testing purposes, fill the WEBHOOK_URL by visiting <https://webhook.site/> and use the generated link - the one under the **Your unique URL** label.\n\n{% admonition type=\"warning\" name=\"Caution:\" %}\n\nThe <https://webhook.site/> URL given above should only be used for testing purposes. Using the Conversation API can generate high volumes of callbacks, which can easily exceed the TPS limits of certain webhook services. Additionally, sensitive information may be included in the callback, including message content and contact information. Ensure that you use a scalable and secure callback/webhook processor after your initial testing is complete.\n\n{% /admonition %}\n\nValues for other variables can be obtained by calling corresponding requests:\n\n- <code>CONTACT</code> - ID of contact created by calling **Create contact** request.\n- <code>WEBHOOK_ID</code> - ID of webhook created by calling **Create webhook** request.\n- <code>CONVERSATION</code> - In Conversation mode, a Conversation is created automatically when sending a new message. For example, with a Text Message request, send a message, then call [List conversations](https://developers.sinch.com/docs/conversation/api-reference/conversation/conversation/conversation_listconversations) to get the ID of the conversation for this variable.\n\n## Errors\n\nWhen requests are erroneous, the Sinch Conversation API will respond with standard HTTP status codes, such as <code>4xx</code> for client errors. All responses include a JSON body of the form:\n\n```json\n{\n  \"error\": {\n    \"code\": 401,\n    \"message\": \"Request had invalid credentials.\",\n    \"status\": \"UNAUTHENTICATED\",\n    \"details\": [{\n      \"@type\": \"type.googleapis.com/google.rpc.RetryInfo\",\n      ...\n    }]\n  }\n}\n```\n\nThe table below describes the fields of the error object:\n\n| Name    | Description                         | JSON Type        |\n| ------- | ----------------------------------- | ---------------- |\n| Code    | HTTP status code                    | Number           |\n| Message | A developer-facing error message    | String           |\n| Status  | Response status name                | String           |\n| Details | List of detailed error descriptions | Array of objects |\n\n### Common error responses\n\n| Status | Description                                                             |\n| ------ | ----------------------------------------------------------------------- |\n| 400    | Malformed request. For example, the message body of a request made to the `message/send` endpoint does not contain the `app_id` field, which is required. Alternatively, this error may be triggered if required fields **are** included, but populated incorrectly. For example, the `app_id` field is included in a `message/send` request, but the value is not a ULID (and, therefore, fails a basic form check).|\n| 401    | Incorrect credentials. For example, you may get this error if you provide incorrect `client_id` and `client_secret` values when using basic authentication. You may also get this error if you provide a bearer token generated using incorrect basic authentication credentials or if you provide an expired token (generated using the OAuth2.0 client credentials flow).|\n| 403    | Correct credentials but you don't have access to the requested resource. This typically occurs paired with an `UNAUTHORIZED` message when the provided `client_id` and `client_secret` are not associated with the `project_id` required for most Conversation API calls. Starting February 19, 2025, this error may also be paired with a `BILLING_CREDIT_LIMIT_BREACHED` message. If paired with `BILLING_CREDIT_LIMIT_BREACHED` message, the project is blocked due to credit reasons. In this case, check your project's billing configuration and balance. |\n| 404    | The resources provided for the call are insufficient to complete the call, or the server cannot locate the required resources. For example, if the `app_id` provided in the call doesn't match a Conversation API app contained within the corresponding project, or the region in which the app was created does not match the regional server targeted by the call. Additionally, this error occurs if you provide a designated Conversation API endpoint that doesn't actually exist.|\n| 429    | See [Rate Limits](https://developers.sinch.com/docs/conversation/api-reference/conversation/section/overview/rate-limits).       |\n| 500    | Something went wrong on our end, try again with exponential back-off    |\n| 501    | Something went wrong on our end, try again with exponential back-off    |\n| 503    | Something went wrong on our end, try again with exponential back-off    |\n\n## Rate Limits\n\nThe Conversation API has two kinds of rate limits that may result in status `429 Too Many Requests`:\n\n- Conversation API apps have a maximum MT ingress queue size of 500000 messages, which are drained towards the channel at a rate of 20 messages per second by default (this rate may be higher if the channel has been purchased with a higher capacity).\n- Projects are limited to 800 requests per second across all apps and most endpoints. Making over 800 requests per second over an extended period of time may saturate the app-specific ingress queue, resulting in rate limiting.\n\nIn addition to project and app level limitations, each channel also has rate limitations that can affect performance, and may return a `429 Too Many Requests` error. In some cases (for example, the SMS channel), these rate limits can be adjusted. In others (for example, the Instagram channel), they can't be adjusted. For more information about raising project, app, or channel rate limits, contact your Sinch account manager."
  title: Conversation API | Sinch
  version: '1.0'
  license:
    name: MIT
    url: https://www.sinch.com/legal
  contact:
    email: support@sinch.com
    name: support at sinch
servers:
- url: https://{region}.conversation.api.sinch.com
  variables:
    region:
      default: us
      enum:
      - us
      - eu
      - br
  description: The {region} variable must be set to us, eu, or br, and it must match the region in which you created your Conversation API app.
security:
- Basic: []


# --- truncated at 32 KB (475 KB total) ---
# Full source: https://artifacts.apis.io/sinch/openapi/sinch-conversation-api-openapi.yml