/
API Reference
//
Retrieve a voice service...
Retrieve the full details of a specific voice service by its serviceId.
Security
BasicAuth or SinchOAuth2
- Endpoint which enables consuming the Voice API globally - Redirected by Sinch to the closest region.https://voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}
- North America 1 - Easthttps://us1.voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}
- South America 1 - Easthttps://br1.voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}
- Europe 1 - Centralhttps://eu1.voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}
- Asia Pacific 1 - Southeasthttps://sg1.voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}
- https://au1.voice.api.sinch.comhttps://au1.voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}
curl -i -X GET \
-u '<username>:<password>' \
'https://voice.api.sinch.com/v2/projects/{projectId}/services/{serviceId}'A service object.
Timestamp (RFC 3339) indicating when the service was created.
Example:"2025-01-01 00:00:00+00:00"
Voice service name. No leading or trailing whitespaces allowed.
Example:"My Voice Service"
Indicates whether this service is set as the default for the project. The default service is used when no specific service is specified in API requests. Note: when updating a service, this property cannot be set to false. In such case, a BadRequest will be returned by the API.
Timestamp (RFC 3339) indicating when the service was last updated.
Omitted if no updates were performed on this service.
Example:"2025-01-01 00:00:00+00:00"
Response
{ "serviceId": "6e124178-c29d-46a5-943c-5c2ae544aade", "projectId": "5c5bf2b1-35ae-4825-ab89-457e07bb60e6", "createTime": "2025-01-01T00:00:00Z", "updateTime": "2025-06-01T09:15:00Z", "name": "My Voice Service", "description": "Service with webhook call behavior", "isDefault": true, "callBehavior": { "type": "WEBHOOK", "webhook": { … } } }
We'd love to hear from you!
Rate this content: