POST
/
message
/
sendStatus
/
{instance}
curl --request POST \
  --url https://api.wappfy.com.br/message/sendStatus/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "statusMessage": {
    "type": "text",
    "content": "<string>",
    "caption": "<string>",
    "backgroundColor": "<string>",
    "font": 123,
    "allContacts": true,
    "statusJidList": [
      "<string>"
    ]
  }
}'
{
  "key": {
    "remoteJid": "status@broadcast",
    "fromMe": true,
    "id": "CBC2CDBAFA5C9"
  },
  "message": {
    "extendedTextMessage": {
      "text": "example",
      "backgroundArgb": 1720453008,
      "font": "FB_SCRIPT"
    }
  },
  "messageTimestamp": "1720453008",
  "status": "PENDING",
  "participant": "559912345678@s.whatsapp.net"
}

Authorizations

apikey
string
header
required

Seu cabeçalho da chave de autorização.

Path Parameters

instance
string
required

ID da instância.

Body

application/json
statusMessage
object
required

Response

201 - application/json
Created
key
object

A chave da mensagem, que identifica a mensagem na conversa.

message
object

O conteúdo da mensagem, que pode incluir vários tipos de mensagens como texto, imagens, etc.

messageTimestamp
string

O timestamp da mensagem, representado como uma string.

status
string

O status da mensagem, como enviado, recebido ou pendente.

participant
string

O participante na conversa para quem a mensagem foi enviada.