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}/kakaotalk/senders
- 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}/kakaotalk/senders?pageToken=string&pageSize=1&filterStates=ACTIVE&filterStatuses=DRAFT' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response with senders.
{ "totalSize": 2, "pageSize": 50, "senders": [ { … }, { … } ] }
The unique ID of the project. You can find this on the Sinch Dashboard.
Sender data
Sender details and information. Not required for draft.
Admin phone Not required for draft.
Top level category code, must consist of 3 digits (e.g. 001). Not required for draft.
Mid level category code, must consist of 4 digits (e.g. 0001). Not required for draft.
Sub level category code, must consist of 4 digits (e.g. 0001). Not required for draft.
- Production server
https://provisioning.api.sinch.com/v1/projects/{projectId}/kakaotalk/senders
- 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}/kakaotalk/senders' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"plusFriendId": "plusFriendId",
"status": "SUBMIT",
"saveDraftOnFailure": true,
"details": {
"adminPhoneNo": "+48777777777",
"name": "Test Name",
"logoImage": "https://example-logo-image.com",
"topLevelCategoryCode": "019",
"midLevelCategoryCode": "0006",
"subLevelCategoryCode": "0001"
}
}'Response when successfully creating a sender.
{ "id": "cf11794a-6a5e-4a12-b103-da79bd378bf1", "plusFriendId": "5WY5zKfY3pB56EmDVUPQ", "changes": { "status": "REJECTED", "details": { … } }, "created": "2023-02-23T11:28:51.194Z", "modified": "2023-02-23T11:28:51.194Z" }
The unique ID of the project. You can find this on the Sinch Dashboard.
- Production server
https://provisioning.api.sinch.com/v1/projects/{projectId}/kakaotalk/senders/{plusFriendId}
- 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}/kakaotalk/senders/{plusFriendId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response with a sender.
{ "id": "cf11794a-6a5e-4a12-b103-da79bd378bf1", "plusFriendId": "5WY5zKfY3pB56EmDVUPQ", "state": "ACTIVE", "details": { "adminPhoneNo": "+48777777777", "name": "Test Name", "logoImage": "https://example-logo-image.com", "topLevelCategoryCode": "019", "midLevelCategoryCode": "0006", "subLevelCategoryCode": "0001" }, "created": "2023-02-23T11:28:51.194Z", "modified": "2023-02-23T11:28:51.194Z" }