Siren Account Webhooks API

The account-webhooks API from Siren — 2 operation(s) for account-webhooks.

GitHub OpenAPI

Operations 3

POST /api/v1/programmatic/webhooks Key Create Webhook #
GET /api/v1/programmatic/webhooks Key List Webhooks #
DELETE /api/v1/programmatic/webhooks/{webhook_id} Key Delete Webhook #

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/mysiren-ai:mysiren-ai-account-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

mysiren-ai-account-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Siren Account Webhooks API
  version: 1.0.0
  description: 'Siren public API. One brief becomes on-brand images, video, and posts.


    **Base URL:** `https://api.mysiren.ai`


    **Versioning:** URL path. Current surface is `/api/v1/`. Breaking changes

    ship as `/api/v2/`. Additive fields on v1 responses are not breaking.


    **Deprecation:** a v1 operation that will go away is marked `deprecated: true`

    and the live response carries `Deprecation: true` plus a `Sunset` HTTP-date

    at least 90 days out. Agents should stop calling a sunset operation before

    that date.


    **Auth:** `Authorization: Bearer sk_live_…` or `sk_test_…`. Key minting is open on every plan, Spark included; video is the one Pro gate.

    Mint keys in the dashboard under Developer. First onboarding post is free;

    API credits follow the workspace plan.


    **Errors:** JSON object `{ "code": string, "message": string, "detail"?: any }`.

    FastAPI validation may also send `{ "detail": … }`. Treat a string `detail`

    as the message and use `code` when present. `429` includes `Retry-After`

    and RateLimit-* headers.


    **Rate limits:** every response includes IETF `RateLimit-Limit` /

    `RateLimit-Remaining` / `RateLimit-Reset` and legacy `X-RateLimit-*`.

    Honor `Retry-After` on 429.


    **Docs:** https://mysiren.ai/api · https://mysiren.ai/docs.txt ·

    https://mysiren.ai/llms.txt · MCP at https://mcp.mysiren.ai/mcp'
  contact:
    name: Siren Ai, Inc.
    url: https://mysiren.ai
    email: support@mysiren.ai
servers:
- url: https://api.mysiren.ai
  description: Production
tags:
- name: account-webhooks
paths:
  /api/v1/programmatic/webhooks:
    post:
      tags:
      - account-webhooks
      summary: Key Create Webhook
      description: 'Register a standing webhook with an API key: every run in this workspace

        POSTs its events here. The secret is shown once.'
      operationId: key_create_webhook_api_v1_programmatic_webhooks_post
      parameters:
      - name: X-Siren-Key-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Id
      - name: X-Siren-Key-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Workspace-Id
      - name: X-Siren-Key-Scopes
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Scopes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KeyCreateWebhookRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateWebhookResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '400':
          description: Bad request. Typed Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks the required scope or plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Credits or plan gate. Message names the upgrade.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Run or resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (idempotency replay mismatch).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Honor Retry-After and RateLimit-*.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      tags:
      - account-webhooks
      summary: Key List Webhooks
      operationId: key_list_webhooks_api_v1_programmatic_webhooks_get
      parameters:
      - name: X-Siren-Key-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Id
      - name: X-Siren-Key-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Workspace-Id
      - name: X-Siren-Key-Scopes
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Scopes
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookPreview'
                title: Response Key List Webhooks Api V1 Programmatic Webhooks Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '400':
          description: Bad request. Typed Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks the required scope or plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Credits or plan gate. Message names the upgrade.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Run or resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (idempotency replay mismatch).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Honor Retry-After and RateLimit-*.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Key List Webhooks. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
  /api/v1/programmatic/webhooks/{webhook_id}:
    delete:
      tags:
      - account-webhooks
      summary: Key Delete Webhook
      operationId: key_delete_webhook_api_v1_programmatic_webhooks__webhook_id__delete
      parameters:
      - name: webhook_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Webhook Id
      - name: X-Siren-Key-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Id
      - name: X-Siren-Key-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Workspace-Id
      - name: X-Siren-Key-Scopes
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Scopes
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '400':
          description: Bad request. Typed Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks the required scope or plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Credits or plan gate. Message names the upgrade.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Run or resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (idempotency replay mismatch).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Honor Retry-After and RateLimit-*.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Key Delete Webhook. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
components:
  schemas:
    Error:
      type: object
      title: Error
      required:
      - code
      - message
      additionalProperties: true
      properties:
        code:
          type: string
          description: Machine-readable code (rate_limited, plan_required, unauthorized).
        message:
          type: string
          description: Human-readable explanation safe to show an operator.
        detail:
          description: Optional structured extra (field errors, plan slug, retry hint).
    WebhookPreview:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        workspace_id:
          type: string
          format: uuid
          title: Workspace Id
        label:
          type: string
          title: Label
        url:
          type: string
          title: Url
        events:
          items:
            type: string
          type: array
          title: Events
        is_active:
          type: boolean
          title: Is Active
        last_delivery_status:
          anyOf:
          - type: integer
          - type: 'null'
          title: Last Delivery Status
        last_delivery_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Delivery At
        consecutive_failures:
          type: integer
          title: Consecutive Failures
      type: object
      required:
      - id
      - workspace_id
      - label
      - url
      - events
      - is_active
      - last_delivery_status
      - last_delivery_at
      - consecutive_failures
      title: WebhookPreview
      description: Shape returned by list endpoints. Secret NEVER appears.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CreateWebhookResponse:
      properties:
        webhook:
          $ref: '#/components/schemas/WebhookPreview'
        secret:
          type: string
          title: Secret
          description: Save this immediately; it is not retrievable again. Verify the webhook-signature header (Standard Webhooks) or X-Signature-256 / X-Siren-Signature (hex HMAC-SHA256 of the raw body) with it.
      type: object
      required:
      - webhook
      - secret
      title: CreateWebhookResponse
      description: Returned ONCE on create. The secret only ever appears here.
    KeyCreateWebhookRequest:
      properties:
        label:
          type: string
          maxLength: 80
          minLength: 1
          title: Label
          default: agent
        url:
          type: string
          maxLength: 2048
          minLength: 8
          title: Url
        events:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Events
        secret:
          anyOf:
          - type: string
            maxLength: 80
          - type: 'null'
          title: Secret
      type: object
      required:
      - url
      title: KeyCreateWebhookRequest
      description: Same checks as the dashboard's (https, public host, known events).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError