Skip to main content
GET
/
webhooks
/
Listar webhooks
curl --request GET \
  --url https://api.jurichat.com/webhooks/ \
  --header 'x-jurichat-api-key: <api-key>'
[
  {
    "id": "<string>",
    "officeId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "url": "<string>",
    "events": [
      "<string>"
    ],
    "isActive": true,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "stats": {
      "totalDeliveries": 123,
      "successCount": 123,
      "failedCount": 123,
      "successRate": 123
    }
  }
]

Authorizations

x-jurichat-api-key
string
header
required

Chave de API do escritório (criada no painel). Envie o valor no header x-jurichat-api-key.

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.

events
string[]
required

Lista de nomes de eventos inscritos.

isActive
boolean
required

Se este webhook está ativo.

createdAt
string
required

Timestamp de criação ISO 8601.

updatedAt
string
required

Timestamp de última atualização ISO 8601.

stats
object
required

Estatísticas de entrega para este webhook.