Skip to content
Download OpenAPI description
Languages
Servers
Production server

https://provisioning.api.sinch.com/

Webhooks

Webhooks allow the Sinch servers to communicate with your server backend. The webhooks endpoint lets you create, update, and delete webhooks programmatically.

Operations

Bundles

The bundles endpoint allows you to create and manage bundles of account resources.

Operations

Conversation

The Conversation endpoints allows you to retrieve about channels used with Conversation API.

Operations

WhatsApp

The WhatsApp endpoint allows you to programmatically log in to and get details of your WhatsApp account.

Operations

Request

Enable Meta template analytics for WhatsApp Business Account.

Security
BasicAuth and BearerAuth
Path
projectIdstringrequired

The unique ID of the project. You can find this on the Sinch Dashboard.

curl -i -X PUT \
  -u <username>:<password> \
  'https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/enableTemplateAnalytics' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Meta template analytics enabled for WhatsApp Business Account.

Response
No content

Create a long lived access tokenGADeprecated

Request

Returns a long lived access token based on the facebook token from the embedded signup. Valid for 60 days.

Security
BasicAuth and BearerAuth
Path
projectIdstringrequired

The unique ID of the project. You can find this on the Sinch Dashboard.

Bodyapplication/jsonrequired

Facebook token generated from the embedded signup process, or another long lived access token.

facebookTokenstring(uri)non-empty

Long-Lived User access token. Mandatory if facebookCode is not provided.

facebookCodestring(uri)non-empty

Single-use access code. Mandatory if facebookToken is not provided.

businessManagerstring

Business manager.

Enum"SINCH_AMERICA""SINCH_BR""SINCH_MX""SINCH_SEP""SINCH_UK"
curl -i -X POST \
  -u <username>:<password> \
  'https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/longLivedAccessToken' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "facebookCode": "FACEBOOK_CODE"
  }'

Responses

The long lived access token.

Bodyapplication/json
longLivedAccessTokenstringrequired
Response
application/json

Response when successfully creating a long lived access token.

{ "longLivedAccessToken": "FACEBOOK_TOKEN" }

List WhatsApp Business Accounts detailsGADeprecated

Request

Returns a list of all the WhatsApp Business Accounts that the facebook token is associated with, together with the numbers that are shared.

Security
BasicAuth and BearerAuth
Path
projectIdstringrequired

The unique ID of the project. You can find this on the Sinch Dashboard.

Bodyapplication/jsonrequired

WabaDetails data with Facebook token generated from the embedded signup process.

facebookTokenstringrequired

Long-Lived User access token.

businessManagerstring

Business manager.

Enum"SINCH_AMERICA""SINCH_BR""SINCH_MX""SINCH_SEP""SINCH_UK"
curl -i -X POST \
  -u <username>:<password> \
  'https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/wabaDetails' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "facebookToken": "FACEBOOK_TOKEN"
  }'

Responses

List of WhatsApp Business Accounts.

Bodyapplication/json
wabasArray of objects(WhatsappWabaDetailsDto)required
wabas[].​idstringrequired

The id of the WhatsApp Business Account.

wabas[].​namestringrequired

The name of the WhatsApp Business Account.

wabas[].​numbersArray of objects(WhatsappWabaNumbersDto)required

The numbers that are shared to the WhatsApp Business Account.

wabas[].​numbers[].​idstringrequired

Unique id of the number.

wabas[].​numbers[].​displayPhoneNumberstringrequired

The number displayed in E.164 format.

wabas[].​numbers[].​provisionedbooleanrequired

True if the number is available for usage, false otherwise.

Response
application/json

Response for all waba details.

{ "wabas": [ {} ] }

WhatsApp Templates

The WhatsApp template endpoint offers a way for you to manage your WhatsApp templates that can be used with the Conversation API. The WhatsApp templates are a requirement to send the initial outbound messages in the WhatsApp API.

Operations

WhatsApp Senders

A WhatsApp Sender is also referred to as a 'Business Profile' or a WhatsApp channel. The WhatsApp Sender endpoint allows you to create a Sender through Meta's Embedded sign up. A Sender must be provisioned for you as a consumer of the WhatsApp API to send messages to your end users.

Operations

WhatsApp Accounts

The WhatsApp accounts endpoint lets you create and update WhatsApp accounts as well as get account activity and leave comments.

Operations

WhatsApp Flows

The WhatsApp flows endpoint lets you retrieve and manage WhatsApp Flows associated with the project.

Operations

WhatsApp Solutions

The WhatsApp solutions endpoint offers a way for you to manage your WhatsApp solutions.

Operations

KakaoTalk Templates

The KakaoTalk template endpoint offers a way for you to manage your KakaoTalk templates that can be used with the Conversation API.

Operations

KakaoTalk Categories

The KakoaTalk categories endpoint offers a way for you to manage all of the KakaoTalk template categories that you can use with the Conversation API.

Operations

KakaoTalk Senders

The KakaoTalk sender endpoint offers a way for you to manage your KakaoTalk senders that can be used with the Conversation API.

Operations

RCS Accounts

The RCS endpoint offers you a way to manage your RCS accounts.

Operations

RCS Questionnaire

Manage your RCS questionnaires.

Operations

RCS Senders

The RCS sender endpoint offers a way for you to manage your RCS senders that can be used with the Conversation API.

Operations

RCS Upscales

The RCS upscales endpoint offers a way for you to manage your RCS upscales.

Operations