Skip to main content
POST
/
messages
/
image
Envia uma mensagem de imagem
curl --request POST \
  --url https://api.zatten.com/api/v1/messages/image \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'lead_number=<string>' \
  --form file='@example-file' \
  --form 'caption=<string>'
{
  "wa_id": "<string>",
  "thread_id": "<string>"
}

Authorizations

x-api-key
string
header
required

Chave de API necessária para autenticar todas as requisições.

Body

multipart/form-data

Arquivo de imagem, identificação do lead e legenda opcional.

lead_number
string
required
file
file
required

Arquivo de imagem.

caption
string

Legenda da imagem.

Response

Mensagem enviada com sucesso.

wa_id
string
thread_id
string