Chronary Webhooks API

The Webhooks API from Chronary — 3 operation(s) for webhooks.

Operations 6

GET /v1/webhooks List webhooks #
POST /v1/webhooks Create a webhook #
GET /v1/webhooks/{id} Get a webhook #
PATCH /v1/webhooks/{id} Update a webhook #
DELETE /v1/webhooks/{id} Delete a webhook #
GET /v1/webhooks/{id}/deliveries List webhook deliveries #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/chronary-ai:chronary-ai-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chronary-ai-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Chronary Webhooks API
  version: 1.0.0
  description: 'Calendar-as-a-service API for AI agents.


    Manage calendars, events, and availability for AI and human agents.

    All endpoints require an API key passed as a Bearer token.


    **Authentication:** `Authorization: Bearer chr_sk_...` or `Authorization: Bearer chr_ak_...`


    **Rate limit:** 10 requests/second per API key. Exceeds return HTTP 429.


    **Quotas:** Monthly operation limits by plan — see Billing & plans and Rate limits.


    **Agent bootstrap:** Custom extensions prefixed `x-agent-*` describe the self-signup flow for AI agents. These are not part of any registered OpenAPI extension — they are a Chronary convention.'
  contact:
    name: Chronary Support
    email: support@chronary.ai
    url: https://docs.chronary.ai
servers:
- url: https://api.chronary.ai
  description: Production
security:
- BearerAuth: []
tags:
- name: Webhooks
paths:
  /v1/webhooks:
    get:
      operationId: listWebhooks
      summary: List webhooks
      tags:
      - Webhooks
      parameters:
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
        required: false
        name: limit
        in: query
      - schema:
          type:
          - integer
          - 'null'
          minimum: 0
          default: 0
        required: false
        name: offset
        in: query
      responses:
        '200':
          description: List of webhooks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookList'
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 10 requests per second per key exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createWebhook
      summary: Create a webhook
      description: Registers a new webhook endpoint. Chronary will deliver signed POST requests to your URL when subscribed events occur. The signing secret is returned only at creation time — store it securely.
      tags:
      - Webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhook'
      responses:
        '201':
          description: Webhook created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookCreated'
        '400':
          description: Validation error — invalid request body or query parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — quota exceeded or operation not permitted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 10 requests per second per key exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/webhooks/{id}:
    get:
      operationId: getWebhook
      summary: Get a webhook
      tags:
      - Webhooks
      parameters:
      - schema:
          type: string
          example: whk_01H9X4M2P5R8T6V0
          description: Webhook ID
        required: true
        description: Webhook ID
        name: id
        in: path
      responses:
        '200':
          description: Webhook details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 10 requests per second per key exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      operationId: updateWebhook
      summary: Update a webhook
      tags:
      - Webhooks
      parameters:
      - schema:
          type: string
          example: whk_01H9X4M2P5R8T6V0
          description: Webhook ID
        required: true
        description: Webhook ID
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhook'
      responses:
        '200':
          description: Updated webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '400':
          description: Validation error — invalid request body or query parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 10 requests per second per key exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteWebhook
      summary: Delete a webhook
      tags:
      - Webhooks
      parameters:
      - schema:
          type: string
          example: whk_01H9X4M2P5R8T6V0
          description: Webhook ID
        required: true
        description: Webhook ID
        name: id
        in: path
      responses:
        '204':
          description: Webhook deleted
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 10 requests per second per key exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/webhooks/{id}/deliveries:
    get:
      operationId: listWebhookDeliveries
      summary: List webhook deliveries
      description: Returns delivery history for a webhook subscription. Useful for diagnosing failed deliveries. Payload bodies are omitted by default — pass `include_payload=true` to include them. Requires an org-level API key; agent-scoped keys receive 403.
      tags:
      - Webhooks
      parameters:
      - schema:
          type: string
          example: whk_01H9X4M2P5R8T6V0
          description: Webhook ID
        required: true
        description: Webhook ID
        name: id
        in: path
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
        required: false
        name: limit
        in: query
      - schema:
          type:
          - integer
          - 'null'
          minimum: 0
          default: 0
        required: false
        name: offset
        in: query
      - schema:
          type: string
          enum:
          - pending
          - delivered
          - failed
        required: false
        name: status
        in: query
      - schema:
          type: string
          enum:
          - 'true'
          - 'false'
        required: false
        name: include_payload
        in: query
      responses:
        '200':
          description: Delivery history with pagination and all-time status counts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryList'
        '400':
          description: Validation error — invalid request body or query parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — quota exceeded or operation not permitted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 10 requests per second per key exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    UpdateWebhook:
      type: object
      properties:
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            type: string
            enum:
            - agent.created
            - agent.updated
            - event.created
            - event.updated
            - event.deleted
            - event.started
            - event.ended
            - event.reminder
            - event.hold_created
            - event.hold_expired
            - event.hold_released
            - event.hold_confirmed
            - proposal.created
            - proposal.responded
            - proposal.confirmed
            - proposal.expired
            - proposal.cancelled
            - webhook.deactivated
            - org.plan_changed
          minItems: 1
        active:
          type: boolean
    WebhookDelivery:
      type: object
      properties:
        id:
          type: string
          example: whd_01H9X4M2P5R8T6V0
        subscription_id:
          type: string
          example: whk_01H9X4M2P5R8T6V0
        event_type:
          type: string
          enum:
          - agent.created
          - agent.updated
          - event.created
          - event.updated
          - event.deleted
          - event.started
          - event.ended
          - event.reminder
          - event.hold_created
          - event.hold_expired
          - event.hold_released
          - event.hold_confirmed
          - proposal.created
          - proposal.responded
          - proposal.confirmed
          - proposal.expired
          - proposal.cancelled
          - webhook.deactivated
          - org.plan_changed
          example: event.created
        status:
          type: string
          enum:
          - pending
          - delivered
          - failed
          example: delivered
        attempts:
          type: integer
          example: 1
        last_attempt_at:
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-04-18T10:00:00.000Z'
        next_retry_at:
          type:
          - string
          - 'null'
          format: date-time
          example: null
        created_at:
          type: string
          format: date-time
          example: '2026-04-18T09:55:00.000Z'
        payload:
          type: object
          additionalProperties: {}
          description: Present only when include_payload=true
          example:
            id: evt_abc
            title: Meeting
      required:
      - id
      - subscription_id
      - event_type
      - status
      - attempts
      - last_attempt_at
      - next_retry_at
      - created_at
    WebhookList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Webhook'
        total:
          type: integer
          example: 1
        limit:
          type: integer
          example: 20
        offset:
          type: integer
          example: 0
      required:
      - data
      - total
      - limit
      - offset
    CreateWebhook:
      type: object
      properties:
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            type: string
            enum:
            - agent.created
            - agent.updated
            - event.created
            - event.updated
            - event.deleted
            - event.started
            - event.ended
            - event.reminder
            - event.hold_created
            - event.hold_expired
            - event.hold_released
            - event.hold_confirmed
            - proposal.created
            - proposal.responded
            - proposal.confirmed
            - proposal.expired
            - proposal.cancelled
            - webhook.deactivated
            - org.plan_changed
          minItems: 1
      required:
      - url
      - events
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              example: invalid_request
            message:
              type: string
              example: The field "name" is required.
            request_id:
              type: string
              example: req_01H9X4M2P5R8T6V0
            required_plan:
              type: string
              example: pro
              description: 'plan_required: the plan that unlocks the feature'
            feature:
              type: string
              description: 'plan_required: the gated feature'
            metric:
              type: string
              description: 'quota_exceeded and count caps: the metric at its limit (a PLAN_LIMITS key, accepted by POST /v1/billing/upgrade-requests)'
            limit:
              type: integer
              description: 'quota_exceeded and count caps: the plan''s limit for `metric`'
            upgrade_url:
              type: string
              description: Where a human upgrades the plan
            docs_url:
              type: string
            contact_url:
              type: string
              description: 'Contract-managed plans: where to contact sales'
            retry_after:
              type: integer
              description: Seconds until the request may be retried
          required:
          - type
          - message
          - request_id
      required:
      - error
    Webhook:
      type: object
      properties:
        id:
          type: string
          example: whk_01H9X4M2P5R8T6V0
        orgId:
          type: string
          example: org_01H9X4M2P5R8T6V0
        url:
          type: string
          format: uri
          example: https://example.com/webhooks/chronary
        events:
          type: array
          items:
            type: string
            enum:
            - agent.created
            - agent.updated
            - event.created
            - event.updated
            - event.deleted
            - event.started
            - event.ended
            - event.reminder
            - event.hold_created
            - event.hold_expired
            - event.hold_released
            - event.hold_confirmed
            - proposal.created
            - proposal.responded
            - proposal.confirmed
            - proposal.expired
            - proposal.cancelled
            - webhook.deactivated
            - org.plan_changed
          example:
          - event.created
          - event.updated
        active:
          type: boolean
          example: true
        consecutiveFailures:
          type: integer
          example: 0
          description: 'Circuit-breaker counter: consecutive terminal delivery failures. Reset to 0 on any successful delivery; the endpoint is auto-deactivated at 20 or after 24h of continuous failure.'
        firstFailureAt:
          type:
          - string
          - 'null'
          format: date-time
          example: null
          description: Timestamp of the first failure in the current failure streak; null when there is no active streak.
        createdAt:
          type: string
          format: date-time
          example: '2025-01-15T10:00:00.000Z'
      required:
      - id
      - orgId
      - url
      - events
      - active
      - consecutiveFailures
      - firstFailureAt
      - createdAt
    WebhookCreated:
      allOf:
      - $ref: '#/components/schemas/Webhook'
      - type: object
        properties:
          secret:
            type: string
            example: whsec_abc123...
            description: HMAC-SHA256 signing secret — returned once at creation time only. Store it securely.
        required:
        - secret
    WebhookDeliveryList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        total:
          type: integer
          example: 42
        limit:
          type: integer
          example: 20
        offset:
          type: integer
          example: 0
        stats:
          type: object
          properties:
            pending:
              type: integer
              example: 2
            delivered:
              type: integer
              example: 35
            failed:
              type: integer
              example: 5
          required:
          - pending
          - delivered
          - failed
          description: All-time delivery counts for this webhook
      required:
      - data
      - total
      - limit
      - offset
      - stats
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key with `chr_sk_*` for org-level access or `chr_ak_*` for agent-scoped access. Pass in the Authorization header: `Authorization: Bearer chr_sk_...`'
    SessionAuth:
      type: apiKey
      in: cookie
      name: chronary_session
      description: Console session JWT (HS256), issued by sign-in and sent as the `chronary_session` cookie (a Bearer JWT is also accepted). This is NOT a chr_sk_*/chr_ak_* API key — API keys are rejected with 401 on these endpoints.
x-agent-self-signup:
  url: https://api.chronary.ai/v1/agent/sign-up
  verify_url: https://api.chronary.ai/v1/agent/verify
  restricted_key_returned: true
  human_in_the_loop: otp_email
  rate_limit: 5 requests per 60s per client IP
x-agent-bootstrap-script:
  npx: npx @chronary/agent-init@latest
  shell: https://chronary.ai/agent-init.sh
  description: One-liner that performs sign-up, prompts for OTP, verifies, and creates a smoke calendar. Accepts CHRONARY_EMAIL and CHRONARY_OTP env vars for non-interactive flows.
x-llms-txt: https://docs.chronary.ai/llms.txt
x-llms-full-txt: https://docs.chronary.ai/llms-full.txt
x-mcp-server-card: https://chronary.ai/.well-known/mcp/server-card.json
x-api-catalog: https://chronary.ai/.well-known/api-catalog