Skip to main content
GET
/
listarWebhook
Listar webhooks
curl --request GET \
  --url https://api-vendas.taximachine.com.br/api/integracao/listarWebhook \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'api-key: <api-key>'
{
  "success": true,
  "response": {
    "webhooks": [
      {
        "id": "5",
        "tipo": "posicao",
        "responsavel": "corrida",
        "url": "https://teste-2.com"
      },
      {
        "id": "6",
        "tipo": "posicao",
        "responsavel": "solicitante",
        "url": "https://url-de-teste-2.com"
      }
    ],
    "quantidade_webhooks": 2
  }
}

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.

Response

200 - application/json

Sucesso

The response is of type object.