Find a user by phone number
Find a user by phone number
// URL для запроса GET /messages
curl \
-d '{"phone": "79995253422","template": "template_name", "namespace" : "namespace_of_template", "language": { "code": "en", "policy": "deterministic"}}' \ # Phone and template parameters
-H "Content-Type: application/json" \ # Headers
-X POST \ # Type = POST"
https://api.chat-api.com/sendTemplate?token=83763g87x"# URL for request POST /message
If the dialog was initiated by the client, you can reply with a normal message. This dialog is also paid, if you responded to the client. You can communicate with him for free for 24 hours from the moment of the answer.