Skip to main content
POST
/
messages
/
send-image
Enviar mensagem com imagem
curl --request POST \
  --url https://api.botly.com.br/api/v1/rest/messages/send-image \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "chatId": "1234567890",
  "media": "https://example.com/image.jpg",
  "caption": "Veja esta imagem interessante!"
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Body

application/json
chatId
string
required

Identificador único do chat de destino

Example:

"1234567890"

media
string
required

URL da imagem a ser enviada

Example:

"https://example.com/image.jpg"

caption
string

Mensagem de texto anexada à imagem (opcional)

Example:

"Veja esta imagem interessante!"

Response

Mensagem com imagem enviada com sucesso

I