Pular para o conteúdo

Send Text Message

POST
/api/v1/whatsapp/messages/send-text

Send a text message.

x-tenant-id
Any of:
integer
WhatsAppSendTextMessage

Schema for sending a text message.

object
phone
required
Phone

Phone number with country code

string
>= 8 characters <= 50 characters
message
required
Message

Message text

string
>= 1 characters <= 4096 characters
session_id
Any of:
integer
quoted_message_id
Any of:
string

Successful Response

WhatsAppSendMessageResponse

Response after sending a message.

object
success
required
Success
boolean
message_id
Any of:
string
error
Any of:
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string