latestOpenAPI 3.1.02026-08-18893023.3 MB

c78a716de420

Bundles

Create bundle for project

Creates a new bundle of resources based on the input work order.
post/v1/projects/{projectId}/bundles

Path parameters

projectIdstring required

The unique ID of the project. You can find this on the <a href="https://dashboard.sinch.com/">Sinch Dashboard</a>.

Request body

namestring

Name of bundle to create. If a name is not specified in the resource blocks then they will be created with this name.

region'BR' | 'EU' | 'US' required

Region to create resources in. (Allowed values for staging environment: EU or US).

Example request

{
  "name": "Sample bundle",
  "region": "US"
}

Response

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.

idstring required

Id of bundle created.

projectIdstring required

The project or subproject id where resources have been created.

namestring

Name of bundle created. If a name was not specified in the resource blocks then they were created with this name.

state'DONE' | 'FAILED' | 'IN_PROGRESS' required

Current state.

region'BR' | 'EU' | 'US' required

Region resources were create in.