Utilizando o Chave de Acesso
curl -X POST
https://api.pg.iappbr.com.br/api/v1/message/{channel_id}/template
-H 'Authorization: Bearer SEU_TOKEN_AQUI'
-H 'Content-Type: application/json'
-d '{
"components": [
{
"type": "BODY",
"parameters": [{
"type": "TEXT",
"text": "Param_Example_1"
},
{
"type": "TEXT",
"text": "Param_Example_2
}
]
}
],
"to": "553199999999",
"template_id": "template_id"
}'Last updated