Webhook - Subscriptions

List all webhook subscriptions for the current user

get/webhooks/subscriptions

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Response

List of webhook subscriptions

idstring required

The unique identifier of the webhook subscription

namestring required

A friendly name for the webhook subscription

urlstring required

The URL to send webhook events to

event_typesstring[] required

The event types subscribed to

is_activeboolean required

Whether the webhook subscription is active

last_triggered_atstring

The last time the webhook was triggered

failure_countnumber required

The number of consecutive failures

created_atstring required

When the webhook subscription was created

Example response

[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "My Zapier Webhook",
    "url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/",
    "event_types": [
      "habit.completed",
      "routine.completed"
    ],
    "is_active": true,
    "last_triggered_at": "2024-01-15T10:30:00Z",
    "created_at": "2024-01-01T00:00:00Z"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.