Skip to main content
POST
/
engajamento
Criar webhook de engajamento
curl --request POST \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/engajamento \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "url": "<string>",
  "headers": {}
}
'
{
  "success": true,
  "data": [],
  "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

URL Para envio dos eventos

headers
object

Headers utilizados no envio à URL (Opcional)

Response

200 - application/json

Sucesso