Saltar al contenido
Esc
↑↓navegar↵abrir⌘Jvista previa

Retrieve a webhook

GET/webhooks/{id}
Autorización
AuthorizationToken Bearer · headerobligatorio

A BillionSend API key (bs_…).

Parámetros de ruta
idstring<uuid>obligatorio
Respuestas
200

Webhook, including its signing secret

idstring<uuid>obligatorio
endpointstringobligatorio
created_atstringobligatorio
statusstringobligatorio
Valores permitidos:enableddisabled
eventsstring[] | nullobligatorio
inbox_idsstring[] | nullobligatorio

BillionSend extension: inbox events and email.received reach this endpoint only for these inboxes of the team (at most 100). null means every inbox.

objectstringobligatorio
Valores permitidos:webhook
signing_secretstring

Not returned to a team member's MCP call; the dashboard shows members only its last 4 characters

previous_secret_expires_atstring | nullobligatorio

While set, deliveries are also signed with the secret this one replaced (a rotation's overlap window)

401

Missing, malformed, unknown or revoked API key

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
404

Not found

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
Pruébalo
Servidor
Autorización
Parámetros
Solicitud
curl -X GET 'https://api.billionsend.com/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Respuesta
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "endpoint": "string",
  "created_at": "string",
  "status": "enabled",
  "events": [
    "string"
  ],
  "inbox_ids": [
    "string"
  ],
  "object": "webhook",
  "signing_secret": "string",
  "previous_secret_expires_at": "string"
}

¿Te ha resultado útil esta página?