The bundles endpoint allows you to create and manage bundles of account resources.
Provisioning API (1.2.7)
https://provisioning.api.sinch.com/
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.
The unique ID of the project. You can find this on the Sinch Dashboard.
- Production server
https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Account
true if the Account was created through Embedded Signup. false otherwise.
Business manager.
Conversation API app regions the sender can be used for.
The current state of your account.
Ban state when account has been banned.
Response with an account.
{ "state": "ONBOARDED", "isEmbeddedSignup": false, "businessManager": "SINCH_UK", "wabaId": "1234567890", "details": { "companyLegalName": "Legal name of company", "clientBusinessManagerId": "1234567890" }, "wabaEnabledForInsights": false, "compatibleRegions": [ "eu", "us" ] }
The unique ID of the project. You can find this on the Sinch Dashboard.
Account data
The registered name of the brand who will be engaging with their users needs to be specified. This name must match the name associated with the Facebook Business Manager ID below. You can verify the registered name by visiting: https://business.facebook.com/select/?business_id=<your_business_manager_id> Ensure that the name shown exactly matches the one you enter here.
The Business Manager ID for the client to create the account. This can be found in the Meta Business Manager in Business Settings > Business Info below the Business Manager Account Name.
- Production server
https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyLegalName": "Legal name of company",
"clientBusinessManagerId": "1234567890"
}'Account
true if the Account was created through Embedded Signup. false otherwise.
Business manager.
Conversation API app regions the sender can be used for.
The current state of your account.
Ban state when account has been banned.
Response when successfully creating an account.
{ "isEmbeddedSignup": false, "businessManager": "SINCH_UK", "wabaId": "1234567890", "changes": { "status": "IN_PROGRESS", "details": { … } }, "compatibleRegions": [ "eu", "us" ] }
The unique ID of the project. You can find this on the Sinch Dashboard.
Supported account fields to update.
The registered name of the brand who will be engaging with their users needs to be specified. This name must match the name associated with the Facebook Business Manager ID below. You can verify the registered name by visiting: https://business.facebook.com/select/?business_id=<your_business_manager_id> Ensure that the name shown exactly matches the one you enter here.
- Production server
https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
-u <username>:<password> \
'https://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyLegalName": "Update legal name of company",
"clientBusinessManagerId": "1234567890"
}'Account
true if the Account was created through Embedded Signup. false otherwise.
Business manager.
Conversation API app regions the sender can be used for.
The current state of your account.
Ban state when account has been banned.
Response when successfully update an account.
{ "state": "REJECTED", "isEmbeddedSignup": false, "businessManager": "SINCH_UK", "wabaId": "1234567890", "changes": { "status": "IN_PROGRESS", "details": { … } }, "details": { "companyLegalName": "Legal name of company", "clientBusinessManagerId": "1234567890" }, "wabaEnabledForInsights": true, "compatibleRegions": [ "eu", "us" ] }