Skip to main content
GET
/
webhooks
/
{webhookId}
Obter um webhook
curl --request GET \
  --url http://localhost:3001/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "officeId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "url": "<string>",
  "secret": "<string>",
  "events": [
    "<string>"
  ],
  "isActive": true,
  "headers": {},
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.jurichat.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Insira o token JWT no formato: Bearer {token}

Path Parameters

webhookId
string
required

ID único do webhook.

Response

Default Response

id
string
required

ID único do webhook.

officeId
string
required

ID do escritório ao qual este webhook pertence.

name
string
required

Nome do webhook.

description
string | null
required

Descrição do webhook.

url
string
required

URL de destino para entregas de eventos.

secret
string
required

HMAC-SHA256 segredo de autenticação usado para verificar o header X-JuriChat-Signature.

events
string[]
required

Lista de nomes de eventos inscritos.

isActive
boolean
required

Se este webhook está ativo.

headers
object
required

Cabeçalhos personalizados enviados com cada entrega.

createdAt
string
required

Timestamp de criação ISO 8601.

updatedAt
string
required

Timestamp de última atualização ISO 8601.