Skip to main content

Buscar um Webhook

Serviço de documentos - Retorno de Webhook

GET URL Ambiente/api_document/documents_webhooks/[id]

Parâmetro [id] é a chave primária retornada ao criar um Webhook.

IdentificadorValor
Content-typeapplication/json
Acceptapplication/json
X-API-KEY[api_key]

Retorno

Status code 200

Retorna o webhook.

Exemplo

{
"id": "a7046a49-1fe0-483d-b220-cd93fe50a3a9",
"clientId": "113d37ed-6b47-46b6-bc50-bf5d64ad3a94",
"name": "Webhook 1",
"type": 0,
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"headerAuth": "Bearer",
"url": "http://localhost:5000/ocr_feedback/:id",
"authorization": null,
"authorizationUrl": "http://localhost:5000/login",
"authorizationMethod": "POST",
"authorizationHeaders": {
"Content-Type": "application/x-www-form-urlencoded"
},
"authorizationResponseTokenAttr": "access_token",
"createdAt": "2024-04-11T14:12:33.741194-03:00",
"updatedAt": "2024-04-11T14:12:33.741194-03:00"
}