curl --request GET \
--url https://api.example.com/message-templates \
--header 'X-Api-Key: <api-key>'{
"templates": [
{
"id": "<string>",
"name": "<string>",
"language": "<string>",
"category": "<string>",
"status": "<string>",
"components": [
{
"type": "<string>",
"text": "<string>",
"format": "<string>",
"buttons": [
{
"text": "<string>",
"type": "<string>"
}
]
}
]
}
],
"next": "<string>",
"previous": "<string>"
}Lista todos os templates disponíveis para a instância.
curl --request GET \
--url https://api.example.com/message-templates \
--header 'X-Api-Key: <api-key>'{
"templates": [
{
"id": "<string>",
"name": "<string>",
"language": "<string>",
"category": "<string>",
"status": "<string>",
"components": [
{
"type": "<string>",
"text": "<string>",
"format": "<string>",
"buttons": [
{
"text": "<string>",
"type": "<string>"
}
]
}
]
}
],
"next": "<string>",
"previous": "<string>"
}