Agicap webhooks API
The webhooks API from Agicap — 5 operation(s) for webhooks.
The webhooks API from Agicap — 5 operation(s) for webhooks.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/agicap-webhooks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
contact: {}
title: Webhooks API
version: v1
servers:
- url: https://api.agicap.com
- url: https://api.agicap.internal
tags:
- name: Webhooks
paths:
/public/events/v1/webhooks:
post:
description: Register a new webhook for the authenticated organization
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookRequest'
required: true
x-originalParamName: webhook
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
description: Created
'400':
description: Invalid request
'401':
description: Unauthorized request.
'403':
description: Forbidden request.
'429':
description: Too many requests. Please try again later.
security:
- OAuth2:
- agicap:public-api
- bearerAuth: []
summary: Create a webhook
tags:
- Webhooks
operationId: postPublicEventsV1Webhooks
x-operation-id-source: derived
/public/events/v1/webhooks/{id}:
delete:
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'204':
description: No Content
'401':
description: Unauthorized request.
'403':
description: Forbidden request.
'429':
description: Too many requests. Please try again later.
security:
- OAuth2:
- agicap:public-api
- bearerAuth: []
summary: Delete a webhook
tags:
- Webhooks
operationId: deletePublicEventsV1WebhooksById
x-operation-id-source: derived
get:
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
description: OK
'401':
description: Unauthorized request.
'403':
description: Forbidden request.
'429':
description: Too many requests. Please try again later.
security:
- OAuth2:
- agicap:public-api
- bearerAuth: []
summary: Get a webhook
tags:
- Webhooks
operationId: getPublicEventsV1WebhooksById
x-operation-id-source: derived
/public/events/v1/webhooks/{id}/disable:
post:
description: Pauses delivery to this webhook. Idempotent on an already-disabled webhook (existing disabled_reason is preserved).
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'204':
description: No Content
'401':
description: Unauthorized request.
'403':
description: Forbidden request.
'404':
description: Webhook not found
'409':
description: Webhook application is not active for the organization
'429':
description: Too many requests. Please try again later.
security:
- OAuth2:
- agicap:public-api
- bearerAuth: []
summary: Disable a webhook
tags:
- Webhooks
operationId: postPublicEventsV1WebhooksByIdDisable
x-operation-id-source: derived
/public/events/v1/webhooks/{id}/enable:
post:
description: Re-enables a webhook that was previously disabled (manually, by the platform after repeated failures, or by org-wide deactivation). Idempotent on an already-active webhook.
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'204':
description: No Content
'401':
description: Unauthorized request.
'403':
description: Forbidden request.
'404':
description: Webhook not found
'409':
description: Webhook application is not active for the organization
'429':
description: Too many requests. Please try again later.
security:
- OAuth2:
- agicap:public-api
- bearerAuth: []
summary: Enable a webhook
tags:
- Webhooks
operationId: postPublicEventsV1WebhooksByIdEnable
x-operation-id-source: derived
/public/events/v1/webhooks/{id}/send-example:
post:
description: Delivers a synthetic example payload of the given event type to the webhook. Useful for integration validation.
parameters:
- in: path
name: id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SendExampleRequest'
required: true
x-originalParamName: request
responses:
'202':
description: Accepted
'400':
description: Invalid request
'401':
description: Unauthorized request.
'403':
description: Forbidden request.
'404':
description: Webhook not found
'409':
description: Webhook application is not active for the organization
'429':
description: Too many requests. Please try again later.
security:
- OAuth2:
- agicap:public-api
- bearerAuth: []
summary: Send a test event to the webhook
tags:
- Webhooks
operationId: postPublicEventsV1WebhooksByIdSendExample
x-operation-id-source: derived
components:
schemas:
WebhookResponse:
properties:
createdAt:
format: date-time
type: string
description:
type: string
eventTypes:
items:
type: string
type: array
id:
type: string
status:
enum:
- active
- disabled_by_organization
- disabled_manually
- disabled_for_errors
type: string
url:
type: string
type: object
CreateWebhookRequest:
properties:
description:
type: string
enabled:
default: false
description: When true the webhook is created in the active state, skipping the usual disabled_manually initial state.
type: boolean
eventTypes:
items:
type: string
type: array
secret:
description: Plain-text HMAC-SHA256 signing secret (minimum 24 characters). Keep it on your side to verify message signatures. Required at creation; rotate later via the dedicated rotate-secret endpoint.
example: my-plain-text-signing-secret-value
minLength: 24
type: string
url:
format: uri
type: string
required:
- url
- secret
type: object
SendExampleRequest:
properties:
eventType:
description: The event type to deliver as a synthetic example payload
type: string
required:
- eventType
type: object
securitySchemes:
OAuth2:
flows:
implicit:
authorizationUrl: https://myaccount.agicap.com/connect/authorize
scopes:
agicap:public-api: Access the public API
type: oauth2
bearerAuth:
bearerFormat: OPAQUE
scheme: bearer
type: http