GET/api/user/webhookapplication/jsonapi_token| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
x-api-key | string | Sim | Token de autenticação API Key |
User-Agent | AtivoB2B/1.0 | Sim |
| Parâmetro | Tipo | Descrição |
|---|---|---|
limit | inteiro | Quantidade de registros por pƔgina |
page | inteiro | PƔgina atual a ser consultada |
value | string | Texto a ser buscado (aplica filtro nos campos relevantes) |
orderDirection | string | Direção da ordenação (asc ou desc) |
orderBy | string | Campo utilizado para ordenação (id, type, created_at, etc) |
curl --location --request GET '/api/user/webhook?limit=10&page=1&value=1000&orderDirection=desc&orderBy=id' \
--header 'x-api-key: {Token}' \
--header 'User-Agent: AtivoB2B/1.0'{
"status": 200,
"message": "Webhooks listados com sucesso",
"data": {
"data": [
{
"id": "00000-000b-4000-0000-0000000000",
"url": "https://teste.com/webhook",
"type": "TRANSACTION",
"createdAt": "2025-04-08T17:10:31.700Z",
"updatedAt": "2025-04-08T17:10:42.084Z"
}
],
"pages": 1,
"page": 1,
"limit": 10,
"total": 1
},
"error": null
}