Creates a new bundle of resources based on the input work order.
projectId required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
Example Bundle create requests
Responds with the bundle created. At time of response the bundle might not be completed. To receive the complete payload register a webhook for the BUNDLE_DONE
trigger.
BadRequest
Unauthorized
Conflict
FailedDependency
InternalServerError
Small example to create a subproject, SMS App and Conversation API App. The webhooks for Conversation API and Provisioning API are examples and can be extended.
{- "name": "Small bundle example",
- "region": "US",
- "subproject": true,
- "smsApp": true,
- "convApp": {
- "webhooks": [
- {
- "secret": "secret",
- "triggers": [
- "MESSAGE_DELIVERY"
]
}
], - "processingMode": "DISPATCH",
- "retentionPolicy": {
- "retentionPolicyType": "MESSAGE_EXPIRE_POLICY",
- "ttl": 7
}
}, - "webhooks": [
- {
- "secret": "secret",
- "triggers": [
- "BUNDLE_DONE"
]
}
]
}
Response if the SMS App is not ready. This is the most likely response.
{- "id": "62a02dd40000000000000000",
- "projectId": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "name": "Sample response",
- "region": "US",
- "subproject": {
- "id": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "name": "Sample response",
- "parentProjectId": "18bbdcc8-117d-42f0-85cc-e30462c49404",
- "status": "PENDING"
}, - "smsApp": {
- "id": "54e5eb6cae6242c88c132c8da8bb1072",
- "smsServiceId": "d84b09da00fb4b76ff63f2fcea8d46c7",
- "name": "Sample response",
- "status": "PENDING_ADD"
}, - "convApp": {
- "id": "31c12b1042d14b37ae96df96bb13575b",
- "name": "Sample response",
- "processingMode": "CONVERSATION"
}, - "webhooks": [
- {
- "id": "7c60ce550f1d40198d5ffb113d58591b",
- "projectId": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "triggers": [
- "BUNDLE_DONE"
]
}
], - "state": "IN_PROGRESS"
}
{- "type": "BUNDLE_DONE",
- "payload": {
- "id": "62a02dd40000000000000000",
- "projectId": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "name": "Sample response",
- "region": "US",
- "subproject": {
- "id": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "name": "Sample response",
- "parentProjectId": "18bbdcc8-117d-42f0-85cc-e30462c49404",
- "status": "READY"
}, - "smsApp": {
- "id": "54e5eb6cae6242c88c132c8da8bb1072",
- "smsServiceId": "d84b09da00fb4b76ff63f2fcea8d46c7",
- "name": "Sample response",
- "status": "ACTIVE",
- "accessTokens": [
- "token"
]
}, - "convApp": {
- "id": "31c12b1042d14b37ae96df96bb13575b",
- "name": "Sample response",
- "processingMode": "CONVERSATION"
}, - "webhooks": [
- {
- "id": "7c60ce550f1d40198d5ffb113d58591b",
- "projectId": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "triggers": [
- "BUNDLE_DONE"
]
}
], - "state": "DONE",
- "webhookDeliveryStatuses": [
- {
- "webhookId": "7c60ce550f1d40198d5ffb113d58591b",
- "date": "2025-02-14T10:54:15.676Z",
- "httpStatusCode": 200
}
]
}
}
Retrieve created bundle and resources created.
projectId required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
bundleId required | string The unique ID of the bundle. |
Responds with the bundle created. At time of response the bundle might not be completed.
BadRequest
Unauthorized
NotFound
InternalServerError
Response if the SMS App is not ready. This is the most likely response.
{- "id": "62a02dd40000000000000000",
- "projectId": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "name": "Sample response",
- "region": "US",
- "subproject": {
- "id": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "name": "Sample response",
- "parentProjectId": "18bbdcc8-117d-42f0-85cc-e30462c49404",
- "status": "PENDING"
}, - "smsApp": {
- "id": "54e5eb6cae6242c88c132c8da8bb1072",
- "smsServiceId": "d84b09da00fb4b76ff63f2fcea8d46c7",
- "name": "Sample response",
- "status": "PENDING_ADD"
}, - "convApp": {
- "id": "31c12b1042d14b37ae96df96bb13575b",
- "name": "Sample response",
- "processingMode": "CONVERSATION"
}, - "webhooks": [
- {
- "id": "7c60ce550f1d40198d5ffb113d58591b",
- "projectId": "ea026751-3edf-40a9-ad93-1b382bd60a78",
- "triggers": [
- "BUNDLE_DONE"
]
}
], - "state": "IN_PROGRESS"
}