Skip to main content
POST
/
newsletter
/
{id}
/
profile-picture
Upload da imagem de perfil do canal
curl --request POST \
  --url https://api.zapperapi.com/{instanceId}/newsletter/{id}/profile-picture \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "image": "<string>"
}'

Authorizations

X-Api-Key
string
header
required

Chave privada da API

Path Parameters

id
string
required

ID do canal (com ou sem o sufixo @newsletter)

Body

application/json
image
string
required

Imagem a ser enviada. Pode ser utilizado uma URL (http/https), arquivo no formato base64 ou uma URL base64.

Response

200

Default Response

I