Roar AI Webhooks API

Outbound event notifications

GitHub OpenAPI

Operations 6

GET /client/webhooks List webhooks #
POST /client/webhooks Register a webhook #
PATCH /client/webhooks/{id} Update a webhook #
DELETE /client/webhooks/{id} Delete a webhook #
POST /client/webhooks/{id}/test Send a test event #
GET /client/webhooks/{id}/deliveries Recent delivery attempts #

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/roar-ai-com:roar-ai-com-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

roar-ai-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Roar AI Webhooks API
  version: 1.0.0
  description: 'One key, two surfaces. The **gateway** (`/v1/*`) is OpenAI-compatible — point any OpenAI SDK at it. The **management API** (`/client/*`) lets an agent provision keys, read spend, and deploy apps. Both authenticate with a `roar_live_…` key sent as `Authorization: Bearer `. A key carries scopes (inference, keys:read, keys:write, usage:read, requests:read, apps:read, apps:deploy, data:read, projects:write, webhooks:read, webhooks:write, mcp:read, mcp:write); each `/client` route requires a specific one. There is also a hosted MCP server at `POST /mcp` exposing the same operations as tools.'
servers:
- url: https://api.roar-ai.com
security:
- BearerAuth: []
tags:
- name: Webhooks
  description: Outbound event notifications
paths:
  /client/webhooks:
    get:
      tags:
      - Webhooks
      summary: List webhooks
      description: Registered webhooks (never the signing secret), plus every deliverable event. Requires `webhooks:read`.
      responses:
        '200':
          description: Webhooks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookList'
        '403':
          description: Key lacks webhooks:read
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getClientWebhooks
      x-operation-id-source: derived
    post:
      tags:
      - Webhooks
      summary: Register a webhook
      description: Returns an HMAC signing secret ONCE. Subscribe to named events or to `["*"]`. Requires `webhooks:write`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookRequest'
      responses:
        '201':
          description: The created webhook (secret shown once)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatedWebhook'
        '400':
          description: Invalid or unsafe URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks webhooks:write
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postClientWebhooks
      x-operation-id-source: derived
  /client/webhooks/{id}:
    patch:
      tags:
      - Webhooks
      summary: Update a webhook
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookRequest'
      responses:
        '200':
          description: The updated webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '404':
          description: No such webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchClientWebhooksById
      x-operation-id-source: derived
    delete:
      tags:
      - Webhooks
      summary: Delete a webhook
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Deleted
        '404':
          description: No such webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteClientWebhooksById
      x-operation-id-source: derived
  /client/webhooks/{id}/test:
    post:
      tags:
      - Webhooks
      summary: Send a test event
      description: Delivers a `ping` to this endpoint, so a receiver can be verified before a real event arrives.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Test queued
        '404':
          description: No such webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postClientWebhooksByIdTest
      x-operation-id-source: derived
  /client/webhooks/{id}/deliveries:
    get:
      tags:
      - Webhooks
      summary: Recent delivery attempts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Delivery log
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryList'
        '404':
          description: No such webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getClientWebhooksByIdDeliveries
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - message
          - type
          - code
          - param
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: string
              nullable: true
            param:
              type: string
              nullable: true
    WebhookListItem:
      allOf:
      - $ref: '#/components/schemas/Webhook'
      - type: object
        required:
        - lastStatus
        - lastDeliveryAt
        properties:
          lastStatus:
            type: integer
            nullable: true
          lastDeliveryAt:
            type: string
            format: date-time
            nullable: true
    UpdateWebhookRequest:
      type: object
      properties:
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookSubscription'
        description:
          type: string
          nullable: true
        enabled:
          type: boolean
    CreatedWebhook:
      allOf:
      - $ref: '#/components/schemas/Webhook'
      - type: object
        required:
        - secret
        - warning
        properties:
          secret:
            type: string
            description: HMAC signing secret — shown once
          warning:
            type: string
    WebhookDeliveryList:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
    CreateWebhookRequest:
      type: object
      required:
      - url
      properties:
        url:
          type: string
          format: uri
          description: Public https endpoint
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookSubscription'
          default:
          - '*'
        description:
          type: string
    WebhookList:
      type: object
      required:
      - data
      - events
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookListItem'
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEvent'
          description: Every event that can be delivered
    WebhookDelivery:
      type: object
      required:
      - id
      - event
      - status
      - attempts
      - responseStatus
      - error
      - createdAt
      - deliveredAt
      properties:
        id:
          type: string
          format: uuid
        event:
          type: string
        status:
          type: string
          enum:
          - pending
          - delivered
          - failed
        attempts:
          type: integer
        responseStatus:
          type: integer
          nullable: true
        error:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
        deliveredAt:
          type: string
          format: date-time
          nullable: true
    WebhookEvent:
      type: string
      enum:
      - deploy.succeeded
      - deploy.failed
      - budget.alerting
      - budget.exceeded
      - credits.low
      - credits.exhausted
      - app.egress_spike
      - ping
    Webhook:
      type: object
      required:
      - id
      - url
      - events
      - description
      - enabled
      - createdAt
      properties:
        id:
          type: string
          format: uuid
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookSubscription'
        description:
          type: string
          nullable: true
        enabled:
          type: boolean
        createdAt:
          type: string
          format: date-time
    WebhookSubscription:
      type: string
      enum:
      - '*'
      - deploy.succeeded
      - deploy.failed
      - budget.alerting
      - budget.exceeded
      - credits.low
      - credits.exhausted
      - app.egress_spike
      - ping
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: roar_live_…
      description: A scoped Roar API key.
externalDocs:
  description: Guides and the interactive reference
  url: https://roar-ai.com/docs