Skip to main content

Send a text message to a specified instance.

POST 

/message/sendText/:instanceName

Send a text message to a specified instance.

Request

Path Parameters

    instanceName stringrequired

    The name of the instance to which the message should be sent.

    Example: codechat

Body

required
    number stringrequired

    The recipient's phone number.

    textMessage objectrequired
    text string

    The content of the text message.

    options object
    delay integer

    Delay time before sending the message.

    presence string

    Possible values: [composing, recording, paused]

    Indicates the sender's action/status.

Responses

Successful response

Schema
    any
Loading...