Consultar rotas
1 min
Consultar suas rotas para webhook
Consultar as rotas ativas para sua organização
GET
https://gyra-core.gyramais.com.br/webhook/findBy
Header Parameters
- authorizationstringrequiredDescription
Body Parameters
- webhookIdstringDescription
curl
curl --location --request GET 'https://gyra-core.gyramais.com.br/webhook/findBy' \
--header 'authorization: Bearer string' \
--data '{"webhookId":"String"}'200
[
{
"id": "664f714273d5bf7ee4e6304e",
"createdAt": "2024-05-23T16:39:30.597Z",
"updatedAt": "2024-05-23T16:39:30.597Z",
"organizationId": "6602cba04faa2a9211fb6fa6",
"type": "REPORT",
"url": "https://webhook.site/a8452ddb-ed26-44c2-a8f9-b802f8d29ee9"
}
]Se o campo "webhookId" não for enviado é retornado todos ids vinculados a empresa do token da sessão