CoreStory Webhooks API
The webhooks API from CoreStory — 2 operation(s) for webhooks.
The webhooks API from CoreStory — 2 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/corestory:corestory-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:
title: Crowdbotics API Documentation Webhooks API
description: '# CoreStory API Overview
The CoreStory API provides programmatic access to structured insights derived from software source code.'
version: 1.26.2
servers:
- url: /
description: Current server
security:
- BearerAuth: []
tags:
- name: Webhooks
paths:
/api/webhooks/stripe:
post:
tags:
- Webhooks
summary: Stripe webhook
description: Receives Stripe webhook events. Authenticated via Stripe signature verification.
operationId: handle_stripe_webhook
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StripeWebhookResponse'
default:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
/api/webhooks/subscriptions:
post:
tags:
- Webhooks
summary: Handle subscription state changes
description: Webhook endpoint for external services to update subscription status
operationId: handle_subscription_webhook
parameters:
- name: X-API-Key
in: header
required: true
schema:
type: string
title: X-Api-Key
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionWebhookPayload'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookSuccessResponse'
default:
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorSchema'
components:
schemas:
StripeWebhookResponse:
properties:
status:
type: string
title: Status
default: ok
type: object
title: StripeWebhookResponse
description: Response for Stripe webhook acknowledgement.
SubscriptionWebhookPayload:
properties:
organization_id:
type: string
title: Organization Id
description: Clerk organization ID
examples:
- org_2abc123def456
provider:
$ref: '#/components/schemas/SubscriptionProvider'
description: Subscription provider
provider_subscription_id:
type: string
title: Provider Subscription Id
description: Provider's subscription identifier
examples:
- sub_ms_xyz789
plan_id:
type: string
title: Plan Id
description: Plan identifier
examples:
- enterprise-monthly
- professional-annual
status:
$ref: '#/components/schemas/SubscriptionStatus'
description: New subscription status
action:
$ref: '#/components/schemas/WebhookAction'
description: Action that triggered the webhook
type: object
required:
- organization_id
- provider
- provider_subscription_id
- plan_id
- status
- action
title: SubscriptionWebhookPayload
description: "Webhook payload from Southworks subscription service.\n\nAttributes:\n organization_id: Clerk organization ID\n provider: Subscription provider\n provider_subscription_id: Provider's subscription identifier\n plan_id: Plan identifier (e.g., 'enterprise-monthly')\n status: New subscription status\n action: Action that triggered the webhook"
ErrorBody:
properties:
message:
type: string
title: Message
type:
type: string
title: Type
details:
additionalProperties: true
type: object
title: Details
description: Optional extra context for the error.
type: object
required:
- message
- type
title: ErrorBody
SubscriptionProvider:
type: string
enum:
- ms_marketplace
- stripe
title: SubscriptionProvider
description: Subscription provider enum.
SubscriptionStatus:
type: string
enum:
- active
- suspended
- canceled
- failed
title: SubscriptionStatus
description: Subscription status enum.
WebhookSuccessResponse:
properties:
success:
type: boolean
title: Success
description: Indicates whether the webhook was processed successfully
organization_id:
type: string
title: Organization Id
description: Clerk organization ID (if applicable)
status:
type: string
title: Status
description: New subscription status (if applicable)
type: object
required:
- success
- organization_id
- status
title: WebhookSuccessResponse
description: Webhook success response.
ErrorSchema:
properties:
error:
$ref: '#/components/schemas/ErrorBody'
type: object
required:
- error
title: ErrorSchema
WebhookAction:
type: string
enum:
- activated
- suspended
- unsubscribed
- reinstated
- renewed
- activated_failed
- suspended_failed
- unsubscribed_failed
- reinstated_failed
- renewed_failed
title: WebhookAction
description: Webhook action types.
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Enter the Bearer token from Clerk authentication
x-tagGroups:
- name: Ingest Your Codebase
tags:
- vector_store
- projects
- pre_ingestion
- reingestion
- name: Generate Code Intelligence
tags:
- documents
- document_generation
- document_formatters
- prd
- prd_version
- tech_spec
- quality_metrics
- sample_projects
- name: Query Your Codebase
tags:
- conversations
- workflows
- discovery
- context
- artifacts
- name: Manage and Inspect Intelligence
tags:
- api_debugging
- events
- version
- files
- cache
- token_tracking
- name: Authenticate and Manage Access
tags:
- clerk_authentication
- github_webhooks
- github_integration
- organizations
- api_key_management
- mcp_token_management
- user
- name: (Advanced) Prompt Tuning
tags:
- prompts
- name: MCP Protocol
tags:
- mcp_protocol
- name: Administration
tags:
- admin