MentionsAPI Webhooks API
Outbound webhook endpoint management. Session JWT.
Outbound webhook endpoint management. Session JWT.
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/mentionsapi-com:mentionsapi-com-webhooks-api"
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.
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: 3.2.0
info:
title: Mentions Webhooks API
version: 1.0.0
description: Unified API for tracking brand mentions across ChatGPT, Claude, Gemini, Perplexity, and live AI search surfaces (Google AI Overviews, AI Mode, Bing Copilot). The primary call is POST /v1/check. POST /v1/ask remains mounted for existing integrations. Built for GEO tool builders, SEO agencies, and brand monitoring teams.
contact:
name: MentionsAPI Support
email: hello@mentionsapi.com
url: https://mentionsapi.com/docs
license:
name: Proprietary
url: https://mentionsapi.com/legal/terms
servers:
- url: https://api.mentionsapi.com
description: Production
security:
- bearerAuth: []
tags:
- name: Webhooks
description: Outbound webhook endpoint management. Session JWT.
paths:
/v1/webhooks:
get:
tags:
- Webhooks
operationId: listWebhooks
summary: List webhook endpoints
description: Session JWT. Signing secrets are not returned.
security:
- sessionJwt: []
responses:
'200':
description: Webhook endpoints for the account.
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookListResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
post:
tags:
- Webhooks
operationId: createWebhook
summary: Register a webhook endpoint
description: Returns the HMAC signing secret once. Default event is ask.completed.
security:
- sessionJwt: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCreateRequest'
responses:
'201':
description: Endpoint created. Secret returned once.
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCreateResponse'
'400':
description: Request body failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/v1/webhooks/{id}:
patch:
tags:
- Webhooks
operationId: updateWebhook
summary: Update a webhook endpoint
description: At least one field is required. rotate_secret true returns a new plaintext secret once.
security:
- sessionJwt: []
parameters:
- name: id
in: path
required: true
description: Webhook endpoint id.
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookUpdateRequest'
responses:
'200':
description: Endpoint updated.
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookUpdateResponse'
'400':
description: Invalid id, or no updatable field was sent.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
delete:
tags:
- Webhooks
operationId: deleteWebhook
summary: Delete a webhook endpoint
security:
- sessionJwt: []
parameters:
- name: id
in: path
required: true
description: Webhook endpoint id.
schema:
type: string
format: uuid
responses:
'200':
description: Endpoint deleted.
content:
application/json:
schema:
$ref: '#/components/schemas/DeletedIdResponse'
'400':
description: Invalid webhook id.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Missing or invalid session JWT.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
WebhookCreateRequest:
type: object
required:
- url
properties:
url:
type: string
format: uri
description:
type: string
maxLength: 200
events:
type: array
minItems: 1
maxItems: 4
items:
type: string
enum:
- ask.completed
WebhookUpdateRequest:
type: object
description: At least one field is required.
properties:
url:
type: string
format: uri
description:
type: string
nullable: true
maxLength: 200
events:
type: array
minItems: 1
maxItems: 4
items:
type: string
enum:
- ask.completed
enabled:
type: boolean
rotate_secret:
type: boolean
Webhook:
type: object
required:
- id
- url
- description
- events
- enabled
- created_at
properties:
id:
type: string
format: uuid
url:
type: string
format: uri
description:
type: string
nullable: true
maxLength: 200
events:
type: array
items:
type: string
enum:
- ask.completed
enabled:
type: boolean
created_at:
type: string
format: date-time
ErrorResponse:
type: object
required:
- error
properties:
error:
$ref: '#/components/schemas/ErrorObject'
request_id:
type: string
format: uuid
WebhookListResponse:
type: object
required:
- request_id
- webhooks
properties:
request_id:
type: string
webhooks:
type: array
items:
$ref: '#/components/schemas/Webhook'
ErrorObject:
type: object
required:
- code
- message
properties:
code:
type: string
example: insufficient_credits
message:
type: string
example: Insufficient credits. Subscribe or top up at https://mentionsapi.com/app/billing
balance_cents:
type: integer
required_cents:
type: integer
WebhookUpdateResponse:
type: object
required:
- request_id
- webhook
properties:
request_id:
type: string
webhook:
allOf:
- $ref: '#/components/schemas/Webhook'
- type: object
properties:
secret:
type: string
description: Present only when rotate_secret was true.
DeletedIdResponse:
type: object
required:
- request_id
- deleted
- id
properties:
request_id:
type: string
deleted:
type: boolean
enum:
- true
id:
type: string
format: uuid
WebhookCreateResponse:
type: object
required:
- request_id
- webhook
properties:
request_id:
type: string
webhook:
allOf:
- $ref: '#/components/schemas/Webhook'
- type: object
required:
- secret
properties:
secret:
type: string
description: HMAC secret. Returned once.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API key
description: 'Send your API key as ''Authorization: Bearer <token>''. Create and manage keys in your dashboard.'
sessionJwt:
type: http
scheme: bearer
bearerFormat: JWT
description: Supabase session JWT for the logged-in dashboard user. Used by /v1/keys, /v1/webhooks, /v1/monitors, and /v1/stripe/*. Not an API key.