The bundles endpoint allows you to create and manage bundles of account resources.
Provisioning API (1.2.14)
Download OpenAPI description
Languages
Servers
Production server
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.
Operations
Path
The unique ID of the project. You can find this on the Sinch Dashboard.
- Production serverhttps://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/solutions
- 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/solutions' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
Response with solutions.
{ "solutions": [ { … }, { … }, { … } ] }
Path
Bodyapplication/jsonrequiredThe unique ID of the project. You can find this on the Sinch Dashboard.
Solution data
The accessToken received from the authResponse, returned when completing the embedded solution flow.
- Production serverhttps://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/solutions
- 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/solutions' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"accessToken": "bdc64493-67f6-47df-be58-37f1431de555",
"businessManager": "SINCH_UK",
"details": {
"name": "Test name"
}
}'Response
application/json
Response when successfully creating a solution.
{ "solutions": [ { … }, { … }, { … } ], "failedSolutions": [] }
Path
The unique ID of the project. You can find this on the Sinch Dashboard.
- Production serverhttps://provisioning.api.sinch.com/v1/projects/{projectId}/whatsapp/solutions/{solutionId}
- 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/solutions/{solutionId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
Response with assigned solution.
{ "id": "123", "details": { "name": "Test name" }, "ownerApp": { "id": 456, "name": "Test owner app name" }, "partnerApp": { "id": 789, "name": "Test partner app name" }, "assigned": true }