Respondido

API Message Template Criação


Utilizando a API da blip seria possível criar um “message-templates”  ?

Ou a criação do template necessariamente precisa ser no painel?

 

Grato pela ajuda :).

icon

Melhor resposta por Jorge William 15 May 2024, 17:19

Veja o original

1 comentário

Acabei conseguindo, se alguém tiver a mesma dúvida:

Post - https://msging.net/commands

{
"id": "xxx",
"method": "set",
"type": "application/json",
"uri": "/message-templates",
"to": "[email protected]",
"resource": {
"category": "UTILITY",
"components": [
{
"type": "BODY",
"text": "xxxx",
"example": {
"body_text": [
[
"xxx",
"xxx"
]
]
}
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"text": "Xxxx",
"url": "https://www.xxxx.com/{{1}}",
"example": [
"/xxx"
]
}
]
}
],
"language": "pt_BR",
"name": "xxxx"
}
}

 

Comente