GYRA+ DOCS
...
Webhooks
Consultar rotas
1 min
{ "name" "consultar suas rotas para webhook", "method" "get", "url" "https //gyra core gyramais com br/webhook/findby", "description" "consultar as rotas ativas para sua organização", "tab" "examples", "examples" { "languages" \[ { "id" "oj0gotm iva2i4wsfohs1", "language" "curl", "code" "curl location request get 'https //gyra core gyramais com br/webhook/findby' \\\\\n header 'authorization bearer string' \\\\\n data '{\\"webhookid\\" \\"string\\"}'", "customlabel" "" } ], "selectedlanguageid" "oj0gotm iva2i4wsfohs1" }, "results" { "languages" \[ { "id" "5dsg6ch jtzi5f6t8onu", "language" "200", "customlabel" "", "code" "\[\n {\n \\"id\\" \\"664f714273d5bf7ee4e6304e\\",\n \\"createdat\\" \\"2024 05 23t16 39 30 597z\\",\n \\"updatedat\\" \\"2024 05 23t16 39 30 597z\\",\n \\"organizationid\\" \\"6602cba04faa2a9211fb6fa6\\",\n \\"type\\" \\"report\\",\n \\"url\\" \\"https //webhook site/a8452ddb ed26 44c2 a8f9 b802f8d29ee9\\"\n }\n]" } ], "selectedlanguageid" "5dsg6ch jtzi5f6t8onu" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "authorization", "kind" "required", "type" "string", "description" "bearer token", "children" \[] } ], "bodydataparameters" \[ { "name" "webhookid", "kind" "optional", "type" "string", "description" "id do webhook" } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } se o campo "webhookid" não for enviado é retornado todos ids vinculados a empresa do token da sessão
