GET
/webhooksLista
Recupera todos os Webhooks associados à sua aplicação.
Os valores do cabeçalho são retornados apenas para equipes com gerenciamento de API de webhook habilitado; caso contrário, cada valor é mascarado como ****.
Parameters
Query Parameters
| Name | Type |
|---|---|
pageSize | number (double) |
page | number (double) |
Responses
200Lista de Webhooks
object
pagenumber (double)
totalnumber (double)
totalPagesnumber (double)
resultsobject[]
itemsobject
Uma assinatura de webhook. Cada entrega é um POST HTTP do evento para url, com os headers personalizados e, quando a aplicação tem um secret de assinatura de webhook, o cabeçalho X-Pluggy-Signature (veja Segurança do webhook).
Example response
json
{
"page": 1,
"total": 2,
"totalPages": 1,
"results": [
{
"id": "d619cfde-a8d7-4fe0-a10d-6de488bde4e0",
"event": "item/updated",
"url": "https://www.myapi.com/notifications",
"disabledAt": "2020-06-24T21:29:40.300Z",
"createdAt": "2020-06-24T21:29:40.300Z",
"updatedAt": "2020-06-24T21:29:40.300Z",
"headers": {
"X-Signature": "my-secret"
}
},
{
"id": "207f5bcd-312a-439c-abbe-166b6632c980",
"event": "item/all",
"url": "https://www.myapi.com/notifications",
"disabledAt": null,
"createdAt": "2020-06-24T21:29:40.300Z",
"updatedAt": "2020-06-24T21:29:40.300Z",
"headers": {
"Authorization": "Bearer my-webhook-token"
}
}
]
}curl -X GET \
'https://api.pluggy.ai/webhooks' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY'Resposta de exemplo
{
"page": 1,
"total": 2,
"totalPages": 1,
"results": [
{
"id": "d619cfde-a8d7-4fe0-a10d-6de488bde4e0",
"event": "item/updated",
"url": "https://www.myapi.com/notifications",
"disabledAt": "2020-06-24T21:29:40.300Z",
"createdAt": "2020-06-24T21:29:40.300Z",
"updatedAt": "2020-06-24T21:29:40.300Z",
"headers": {
"X-Signature": "my-secret"
}
},
{
"id": "207f5bcd-312a-439c-abbe-166b6632c980",
"event": "item/all",
"url": "https://www.myapi.com/notifications",
"disabledAt": null,
"createdAt": "2020-06-24T21:29:40.300Z",
"updatedAt": "2020-06-24T21:29:40.300Z",
"headers": {
"Authorization": "Bearer my-webhook-token"
}
}
]
}