Webhooks
Listagem de webhooks cadastrados
Webhooks
Listagem de webhooks cadastrados
GET
/
v1
/
webhooks
curl --request GET \
--url https://api.malga.io/v1/webhooks \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"meta": {
"itemCount": 10,
"totalItems": 20,
"itemsPerPage": 10,
"totalPages": 5,
"currentPage": 2
},
"items": [
{
"id": "31c142ad-4c30-4964-ba24-2df0f2bbb745",
"event": "transaction.authorized",
"endpoint": "https://enuqkxq2lu8be0y.m.pipedream.net",
"version": 1.1,
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAnFQSIT7Mwg5QLeJLAwhAJx9wS+XsQvnyph/Lz7AJyQA=\n-----END PUBLIC KEY-----\n",
"status": true,
"clientId": "cc0b1e41-2936-45c5-947f-93995ffcdc00",
"createdAt": "2021-07-06T21:03:36.590Z",
"updatedAt": "2021-07-06T21:03:36.590Z"
}
]
}
Response
200
application/json
Success
quantidade de itens na página
quantidade total de itens na consulta (esse valor é mantido em cache por 5 minutos para melhorar a performance da API)
quantidade de itens por página
quantidade total de páginas
página atual
Was this page helpful?
curl --request GET \
--url https://api.malga.io/v1/webhooks \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"meta": {
"itemCount": 10,
"totalItems": 20,
"itemsPerPage": 10,
"totalPages": 5,
"currentPage": 2
},
"items": [
{
"id": "31c142ad-4c30-4964-ba24-2df0f2bbb745",
"event": "transaction.authorized",
"endpoint": "https://enuqkxq2lu8be0y.m.pipedream.net",
"version": 1.1,
"publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAnFQSIT7Mwg5QLeJLAwhAJx9wS+XsQvnyph/Lz7AJyQA=\n-----END PUBLIC KEY-----\n",
"status": true,
"clientId": "cc0b1e41-2936-45c5-947f-93995ffcdc00",
"createdAt": "2021-07-06T21:03:36.590Z",
"updatedAt": "2021-07-06T21:03:36.590Z"
}
]
}