get https://api-cerberus-kong.socialminer.tech/api/Webhooks
É possível recuperar todos os webhooks configurados pelo usuário da apikey através do endpoint api/Webhooks
:
curl --request GET \
--url https://api-cerberus-kong.socialminer.tech/api/Webhooks \
--header 'apikey: {APIKEY}' \
--header 'version: 4.0'
Caso hajam webhooks cadastrados, os mesmos são retornados numa lista conforme abaixo com o http status 200
:
{
"webhooks": [
{
"id": "f2056e5f-46b5-4d91-9a9a-54bb37a436c6",
"phone": "123606713995007",
"phone_id": "123606713995007",
"endpoint": "https://webhook.site/1d2befb1-c201-41e9-be6d-53677ca53bc7",
"create_date": "2023-03-28T13:24:30.961Z",
"update_date": "2023-03-28T13:24:30.961Z",
"headers": {
"additionalProp1": "5511964557557",
"additionalProp2": "teste123",
"additionalProp3": "string"
}
}
],
"success": true
}