Envio do template de whatsapp via GupShup ou CloudAPI
Requisição
Forneça seu token bearer no cabeçalho Authorization
ao fazer requisições para recursos protegidos. Exemplo:Authorization: Bearer ********************
Parâmetros Bodyapplication/json
{
"phone": "string",
"name": "string",
"from": "string",
"templateId": "string",
"type": "IMAGE",
"link": "string",
"vars": [
"string"
]
}
Exemplos de Requisição
curl --location --request POST 'https://titov.com.br/api/send/template' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "string",
"name": "string",
"from": "string",
"templateId": "string",
"type": "IMAGE",
"link": "string",
"vars": [
"string"
]
}'
Respostas
application/json Modificado em 2025-10-02 04:25:56