πŸ’¬Send messages via Text-Call ID

This API can send messages to the system by specifying the Text-Call ID (conversation identifier) to send messages to the system.

  • Ways to obtain the conversation identifier:

    • Through variables in the script flow

    • By decrypting the encrypted code in the message template

  • Use cases:

    • Automatically send specified messages within the script flow

    • Integrate with other systems, using the conversation identifier to precisely locate and operate on the conversation

    • Create automated applications, such as sending notifications, creating reminders, or triggering subsequent processes

This design enables more flexible scenario usage, strengthening the automation and integration capabilities of conversations.

API

curl -X POST "https://{API_HOST}/api/v1/text-call/{text_call}/reply-from-external" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Hello, this is your message content.",
    "is_note": false
}'

Response

The response is in JSON format, and the HTTP status code is 204, indicating the send was successful.

Http Request

POST https://{API_HOST}/api/v1/text-call/{text_call}/reply-from-external

URL Parameters

Parameter
Description

text_call

Conversation ID

Form Data

Field Name
Type
Required
Example Value
Description

content

String

βœ…

"Hello, this is your message content"

The main body of the message. It can be a message the customer will see or a note for internal system members only. Cannot be empty.

is_note

Number

0 / 1

Indicates whether it is a note (the customer will not see it). - 1 β†’ Note - 0 β†’ Visible to customer

Last updated