curl --request POST \
--url https://api.zapperapi.com/{instanceId}/messages/media \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"jid": "<string>",
"mediaType": "image",
"mimetype": "<string>",
"media": "<string>",
"caption": "<string>",
"filename": "<string>",
"videoNote": true,
"mentions": [
"<string>"
],
"mentionsEveryone": true
}'
Envia uma mensagem de mídia para um número de telefone ou grupo.
curl --request POST \
--url https://api.zapperapi.com/{instanceId}/messages/media \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"jid": "<string>",
"mediaType": "image",
"mimetype": "<string>",
"media": "<string>",
"caption": "<string>",
"filename": "<string>",
"videoNote": true,
"mentions": [
"<string>"
],
"mentionsEveryone": true
}'
Chave privada da API
Default Response