Skip to main content
POST
/
integracao
/
v1
/
engajamento
/
index
Criar webhook de engajamento
curl --request POST \
  --url https://api-vendas.taximachine.com.br/integracao/v1/engajamento/index \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "url": "https://mariela.net"
}
'
{
  "success": true,
  "message": "Webhook de engajamento criado com sucesso."
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Body

application/json
url
string
required

Obrigatório. URL para envio dos eventos.

headers
object

Opcional. Headers utilizados no envio à URL. Limite de 10 chaves.

Response

201 - application/json

Criado com sucesso

The response is of type object.