Үндсэн агуулга руу алгасах
API reference

Send text (+ quick replies | buttons)

POST/messages

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/messages" \  -H "Content-Type: application/json" \  -d '{    "conversation_id": "cc71b11a-25cd-4c2d-9950-df2cc38e3407",    "text": "string"  }'
{  "message": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "sender": "contact",    "type": "text",    "content": "string",    "metadata": {},    "external_id": "string",    "created_at": "2019-08-24T14:15:22Z"  }}