Pomerado Webhooks API

The webhooks API from Pomerado — 4 operation(s) for webhooks.

GitHub OpenAPI

Operations 7

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 #
POST /v1/webhooks/{id}/test Test a webhook #
POST /v1/webhooks/{id}/rotate-secret Rotate a webhook secret #

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/pomerado-ai:pomerado-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. 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

pomerado-ai-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pomerado Webhooks API
  version: '1'
  description: Run and build website tools, follow their jobs, and manage logins, API keys and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth token or a Dashboard session as a Bearer token.
servers:
- url: https://api.pomerado.ai
tags:
- name: Webhooks
  x-group: Webhooks
paths:
  /v1/webhooks:
    get:
      operationId: webhooks.list
      tags:
      - Webhooks
      summary: List webhooks
      description: 'List the webhooks you made in this account, newest first.


        A Business Owner or Admin sees every member''s webhooks, including departed members''. Signing secrets are never returned.'
      parameters:
      - name: cursor
        in: query
        required: false
        description: The next_cursor of the previous page
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Items per page, 1 to 100 (default 20)
        schema:
          type: string
      responses:
        '200':
          description: One page of webhooks
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - next_cursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Webhook'
                  next_cursor:
                    anyOf:
                    - type: string
                    - type: 'null'
                additionalProperties: false
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: read
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
    post:
      operationId: webhooks.create
      tags:
      - Webhooks
      summary: Create a webhook
      description: 'Create a webhook for your jobs'' events and return its signing secret once.


        - It receives events for every job you started, from any client: the Dashboard, an MCP client or an API key, except Code editor runs.

        - Events: job.needs_input (a job asks a question; the payload has its questions and the page to answer them), job.input_expiring (three minutes left to answer), job.succeeded and job.failed (a job settled), job.repairing (a repair of a run''s tool is under way, and the run ends by maintenance.deadline_at), job.paused (a build paused; the payload has its question, if it paused on one, and when the pause ends it), job.pause_expiring (an hour left before the pause ends the build) and job.resumed (a paused build is queued or running again). Without events, it receives all eight.

        - No event carries a result. Read the result from the job, through the client that started it.

        - Deliveries are signed with Standard Webhooks, retried for about 14 minutes, and sent only to public HTTPS addresses. A url whose host is, or resolves to, a private, loopback, link-local or other non-public address (localhost included) is refused with invalid_request.

        - Only you can change, test or rotate it; a Business Owner or Admin can also see and delete it. It keeps working if you leave the team.

        - You can hold at most 20 webhooks.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              properties:
                url:
                  type: string
                events:
                  type: array
                  items:
                    type: string
                    enum:
                    - job.needs_input
                    - job.input_expiring
                    - job.succeeded
                    - job.failed
                    - job.repairing
                    - job.paused
                    - job.pause_expiring
                    - job.resumed
                  description: an array of at least 1 item(s)
                  minItems: 1
              additionalProperties: false
      responses:
        '201':
          description: The new webhook and its one-time secret
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookWithSecret'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: webhook_limit_reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: request_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: write
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
  /v1/webhooks/{id}:
    get:
      operationId: webhooks.get
      tags:
      - Webhooks
      summary: Get a webhook
      description: 'Get one of your webhooks, or any member''s as a Business Owner or Admin.


        Its signing secret is never returned.'
      parameters:
      - name: id
        in: path
        required: true
        description: 'a webhook ID: wh_ and 32 lowercase hex digits'
        schema:
          type: string
          examples:
          - wh_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '200':
          description: The webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: read
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
    patch:
      operationId: webhooks.update
      tags:
      - Webhooks
      summary: Update a webhook
      description: 'Change a webhook''s URL or events, or turn it off or on.


        - Only its creator can change it; another member''s is forbidden.

        - A url whose host is, or resolves to, a non-public address is refused with invalid_request, as on create.

        - A webhook turns itself off when its receiver answers 410 or fails 20 deliveries in a row. Setting status to active turns it back on and clears its failures; one whose secret is unreadable stays off until its secret is rotated.'
      parameters:
      - name: id
        in: path
        required: true
        description: 'a webhook ID: wh_ and 32 lowercase hex digits'
        schema:
          type: string
          examples:
          - wh_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              required: []
              properties:
                url:
                  type: string
                events:
                  type: array
                  items:
                    type: string
                    enum:
                    - job.needs_input
                    - job.input_expiring
                    - job.succeeded
                    - job.failed
                    - job.repairing
                    - job.paused
                    - job.pause_expiring
                    - job.resumed
                  description: an array of at least 1 item(s)
                  minItems: 1
                status:
                  type: string
                  enum:
                  - active
                  - disabled
                  description: active turns a disabled webhook on again and clears its failures, except one whose secret is unreadable, which stays off until its secret is rotated; disabled turns it off
              additionalProperties: false
      responses:
        '200':
          description: The changed webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: request_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: write
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
    delete:
      operationId: webhooks.delete
      tags:
      - Webhooks
      summary: Delete a webhook
      description: 'Delete one of your webhooks, or any member''s as a Business Owner or Admin.


        Events not yet delivered to it are dropped.'
      parameters:
      - name: id
        in: path
        required: true
        description: 'a webhook ID: wh_ and 32 lowercase hex digits'
        schema:
          type: string
          examples:
          - wh_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '204':
          description: Deleted
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: destructive
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
  /v1/webhooks/{id}/test:
    post:
      operationId: webhooks.test
      tags:
      - Webhooks
      summary: Test a webhook
      description: 'Send a signed test event to one of your webhooks and report how its receiver responded.


        - It is sent now, whether the webhook is active or not.

        - The event is {"id", "type": "webhook.test", "created_at", "data": {"webhook_id"}}.

        - The answer gives only the class of the receiver''s status (2xx, 3xx, 4xx or 5xx), or unreachable when no receiver answered, whatever the reason. Check your receiver''s own logs for more.

        - It is not retried and does not count toward turning the webhook off.

        - An account can send 10 tests a minute; past that it answers webhook_test_throttled.'
      parameters:
      - name: id
        in: path
        required: true
        description: 'a webhook ID: wh_ and 32 lowercase hex digits'
        schema:
          type: string
          examples:
          - wh_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '200':
          description: How the receiver answered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookTestResult'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: webhook_secret_unreadable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: webhook_test_throttled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: write
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
  /v1/webhooks/{id}/rotate-secret:
    post:
      operationId: webhooks.rotate_secret
      tags:
      - Webhooks
      summary: Rotate a webhook secret
      description: 'Replace one of your webhooks'' signing secret and return the new one once.


        For 24 hours each delivery is signed with both secrets (two webhook-signature entries), so your receiver can switch without missing an event.'
      parameters:
      - name: id
        in: path
        required: true
        description: 'a webhook ID: wh_ and 32 lowercase hex digits'
        schema:
          type: string
          examples:
          - wh_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '200':
          description: The webhook and its new one-time secret
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookWithSecret'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: webhooks_unavailable, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearer: []
      x-pomerado-effect: write
      x-pomerado-callers:
      - session
      - oauth
      - api_key
      x-pomerado-permission: jobs:read
components:
  schemas:
    WebhookTestResult:
      type: object
      required:
      - delivered
      - result
      properties:
        delivered:
          type: boolean
          description: The receiver answered with a 2xx
        result:
          type: string
          enum:
          - 2xx
          - 3xx
          - 4xx
          - 5xx
          - unreachable
          description: The class of the receiver's HTTP status, or unreachable when no receiver answered, for any reason (a refused connection, a timeout after 10 seconds, a TLS or DNS failure, or a URL that leads to a private address)
      additionalProperties: false
    WebhookCreator:
      type: object
      required:
      - user_id
      - email
      properties:
        user_id:
          type: string
          description: The member's user ID
        email:
          anyOf:
          - type: string
          - type: 'null'
          description: The email they sign in with, or null when the account no longer has it, and for an API key without team:manage unless they made the key
      additionalProperties: false
      description: The member who made the webhook. Only they can change, test or rotate it, and it carries events for the jobs they started
    WebhookWithSecret:
      type: object
      required:
      - id
      - created_by
      - url
      - events
      - status
      - disabled_reason
      - created_at
      - last_delivery_at
      - secret
      properties:
        id:
          $ref: '#/components/schemas/webhook_id'
        created_by:
          $ref: '#/components/schemas/WebhookCreator'
        url:
          type: string
        events:
          type: array
          items:
            type: string
            enum:
            - job.needs_input
            - job.input_expiring
            - job.succeeded
            - job.failed
            - job.repairing
            - job.paused
            - job.pause_expiring
            - job.resumed
        status:
          type: string
          enum:
          - active
          - disabled
        disabled_reason:
          anyOf:
          - type: string
            enum:
            - manual
            - gone
            - unreachable
            - secret_unreadable
          - type: 'null'
          description: 'Why a disabled webhook sends nothing: manual (turned off), gone (its receiver answered 410), unreachable (20 failed deliveries in a row) or secret_unreadable (rotate its secret)'
        created_at:
          $ref: '#/components/schemas/Date'
        last_delivery_at:
          anyOf:
          - $ref: '#/components/schemas/Date'
          - type: 'null'
        secret:
          type: string
          description: The Standard Webhooks signing secret (whsec_…), shown only in this response. Verify each delivery's webhook-signature with it.
      additionalProperties: false
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - retryable
          - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
    Webhook:
      type: object
      required:
      - id
      - created_by
      - url
      - events
      - status
      - disabled_reason
      - created_at
      - last_delivery_at
      properties:
        id:
          $ref: '#/components/schemas/webhook_id'
        created_by:
          $ref: '#/components/schemas/WebhookCreator'
        url:
          type: string
        events:
          type: array
          items:
            type: string
            enum:
            - job.needs_input
            - job.input_expiring
            - job.succeeded
            - job.failed
            - job.repairing
            - job.paused
            - job.pause_expiring
            - job.resumed
        status:
          type: string
          enum:
          - active
          - disabled
        disabled_reason:
          anyOf:
          - type: string
            enum:
            - manual
            - gone
            - unreachable
            - secret_unreadable
          - type: 'null'
          description: 'Why a disabled webhook sends nothing: manual (turned off), gone (its receiver answered 410), unreachable (20 failed deliveries in a row) or secret_unreadable (rotate its secret)'
        created_at:
          $ref: '#/components/schemas/Date'
        last_delivery_at:
          anyOf:
          - $ref: '#/components/schemas/Date'
          - type: 'null'
      additionalProperties: false
    webhook_id:
      type: string
      description: 'a webhook ID: wh_ and 32 lowercase hex digits'
      examples:
      - wh_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
    Date:
      type: string
      description: a string to be decoded into a Date
  securitySchemes:
    bearer:
      type: http
      scheme: bearer