API reference
API reference

events

  • GET/v1/events

    List recent platform events.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/events"
  • POST/v1/webhooks

    Register a webhook subscription.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/webhooks"
  • GET/v1/webhooks

    List webhook subscriptions.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/webhooks"
  • DELETE/v1/webhooks/{id}

    Delete a webhook subscription.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/webhooks/{id}"