Coppica Webhooks API

Event subscriptions.

GitHub OpenAPI

Operations 4

GET /webhooks List webhook subscriptions #
POST /webhooks Create a webhook subscription #
PATCH /webhooks/{webhookId} Update a webhook #
DELETE /webhooks/{webhookId} Delete a 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/coppica-com:coppica-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

coppica-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coppica Com Webhooks API
  version: v1-alpha
  description: 'Operations tagged Webhooks across 2 of this provider''s published API definitions: coppica-com-openapi.json, coppica-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://coppica.com/api/v1
security:
- bearerAuth: []
tags:
- name: Webhooks
  description: Event subscriptions.
paths:
  /webhooks:
    get:
      tags:
      - Webhooks
      summary: List webhook subscriptions
      responses:
        '200':
          description: Your webhook subscriptions (URLs masked).
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhooks:
                    type: array
                    items:
                      $ref: '#/components/schemas/Webhook'
                required:
                - webhooks
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      operationId: getWebhooks
      x-operation-id-source: derived
    post:
      tags:
      - Webhooks
      summary: Create a webhook subscription
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookCreate'
      responses:
        '201':
          description: Created. For generic webhooks the signing secret is returned once.
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhook:
                    $ref: '#/components/schemas/Webhook'
                required:
                - webhook
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      operationId: postWebhooks
      x-operation-id-source: derived
    servers:
    - url: https://coppica.com/api/v1
  /webhooks/{webhookId}:
    patch:
      tags:
      - Webhooks
      summary: Update a webhook
      parameters:
      - name: webhookId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Generic'
      responses:
        '200':
          description: Updated webhook.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Generic'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      operationId: patchWebhooksByWebhookId
      x-operation-id-source: derived
    delete:
      tags:
      - Webhooks
      summary: Delete a webhook
      parameters:
      - name: webhookId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Generic'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      operationId: deleteWebhooksByWebhookId
      x-operation-id-source: derived
    servers:
    - url: https://coppica.com/api/v1
components:
  schemas:
    WebhookCreate:
      type: object
      properties:
        webhook_url:
          type: string
          format: uri
        events:
          type: array
          items:
            type: string
            enum:
            - bot.complete
            - pipeline.complete
            - intake.submitted
            - document.shared
            - draft.ready
            - client.annotation
            - client.approval
            - conversion.recorded
            - task.assigned
            - output.finalized
            - workflow.node_complete
            - workflow.complete
        provider:
          type: string
          enum:
          - generic
          - slack
          default: generic
        label:
          type: string
      required:
      - webhook_url
      - events
    Error:
      type: object
      description: Standard error envelope. Branch on `code`, never the human `error` string.
      properties:
        error:
          type: string
          description: Human-readable, sanitized message.
        code:
          type: string
          description: Stable machine-readable code.
          examples:
          - invalid_request
          - invalid_client_id
          - missing_authorization
          - invalid_api_key
          - missing_scope
          - client_access_denied
          - spending_cap_exceeded
          - not_found
          - rate_limited
          - server_error
      required:
      - error
      - code
    Webhook:
      type: object
      properties:
        id:
          type: string
          format: uuid
        provider:
          type: string
          enum:
          - generic
          - slack
        label:
          type:
          - string
          - 'null'
        events:
          type: array
          items:
            type: string
        enabled:
          type: boolean
        masked_url:
          type: string
          description: URL with the host/path partially masked.
        secret:
          type: string
          description: Signing secret — returned only once, on create, for generic webhooks.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - provider
      - events
      - enabled
    Generic:
      type: object
      additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found (also returned when access is denied).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
        RateLimit-Limit:
          schema:
            type: integer
          description: Max requests in the window.
        RateLimit-Remaining:
          schema:
            type: integer
          description: Requests left in the window.
        RateLimit-Reset:
          schema:
            type: integer
          description: Seconds until the window resets.
      content:
        application/json:
          schema:
            type: object
            description: The 429 body carries code plus a message and retryAfterMs.
            properties:
              error:
                type: string
              code:
                type: string
                const: rate_limited
              message:
                type: string
              retryAfterMs:
                type: integer
            required:
            - error
            - code
    Forbidden:
      description: Wrong scope, client access denied, or spending cap exceeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A Coppica API key, e.g. `Authorization: Bearer cpk_...`. Keys carry read/write/execute scopes.'
x-refined-from:
- coppica-com-openapi.json
- coppica-com-openapi.yml