Lists the hosting orders for the project.
Security
Basic or OAuth2.0
Found on your Sinch Customer Dashboard. Settings > Projects.
Example:d1923022-5199-4bb3-a513-c47b3a656bc5
The hosting order states
| Enum Value | Description |
|---|---|
| HOSTING_ORDER_STATE_UNSPECIFIED | State is unspecified. |
| DRAFT | Hosting order is a draft. |
| SUBMITTED | Hosting order has been submitted. |
| WAITING_FOR_LOA_SIGNATURE | Hosting order is waiting for the LoA signature. |
| IN_PROGRESS | Hosting order is in progress. |
| COMPLETED | Hosting order is completed. |
| REJECTED | Hosting order is rejected. |
- Global APIhttps://imported.numbers.api.sinch.com/v1/projects/{projectId}/hostingOrders
curl -i -X GET \
-u '<username>:<password>' \
'https://imported.numbers.api.sinch.com/v1/projects/d1923022-5199-4bb3-a513-c47b3a656bc5/hostingOrders?regionCode=US&states=HOSTING_ORDER_STATE_UNSPECIFIED&type=HOSTING_ORDER_TYPE_UNSPECIFIED&servicePlanId=324e4567-e89b-12d3-a456-426614174000&campaignId=123e4567-e89b-12d3-a456-426614174000&orderBy=createdTime&pageToken=C2VNYXJrEg4KDCsxMjAxMjI2MzUyOQ%3D%3D&pageSize=20'Response
{ "hostingOrders": [ { … } ], "nextPageToken": "string", "totalSize": 0 }
We'd love to hear from you!
Rate this content: