Skip to content

Templates V2

Version 2 endpoints for managing message templates. Recommended version for all users. Includes strongly typed translations field (allowing for message definition using JSON structures also used in the send message request of the Conversation API), improved validation, and the ability to override omni-channel templates in favor of channel-specific templates (where available).

List all templates belonging to a project ID.

Request

Lists all templates belonging to the given project ID.

Security
Basic or oAuth2
Path
project_idstringrequired

The project ID.

curl -i -X GET \
  -u '<username>:<password>' \
  'https://us.template.api.sinch.com/v2/projects/{project_id}/templates'

Responses

A successful response.

Bodyapplication/json
templatesArray of objects(v2Template)
Response
{ "templates": [ { … } ] }
We'd love to hear from you!
Rate this content: