Souchat: Send Text icon

Souchat: Send Text

Envia mensagem de texto via API da Souchat

Souchat: Send Text

AI-generated

Summary

Send a text message via the Souchat API to a specified phone number, optionally closing the associated ticket.

Inputs

  • Number (required) — The recipient's phone number to which the text message will be sent.
  • Message Body (required) — The content of the text message to send.
  • Close Ticket — Boolean flag indicating whether to close the ticket after sending the message (default is false).

Output shape

a list of JSON objects

Each output item corresponds to an input item and contains the JSON response from the Souchat API's /messages/send endpoint.

Examples

Example 1: Send a text message to +1234567890 with the body 'Hello!' and do not close the ticket.

Number: +1234567890, Message Body: Hello!, Close Ticket: false

Example 2: Send a text message and close the ticket.

Number: +1234567890, Message Body: Your request has been resolved., Close Ticket: true

Discussion