Lemon Squeezy Webhooks API
The Webhooks API from Lemon Squeezy — 2 operation(s) for webhooks.
The Webhooks API from Lemon Squeezy — 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/lemon-squeezy-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: Lemon Squeezy Webhooks API
version: '1.0'
description: 'Operations tagged Webhooks across 2 of this provider''s published API definitions: lemon-squeezy-api-openapi.yml, lemon-squeezy-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.lemonsqueezy.com
- url: https://api.lemonsqueezy.com/v1
tags:
- name: Webhooks
paths:
/v1/webhooks/1:
get:
tags:
- Webhooks
summary: Lemon Squeezy Retrieve a webhook
responses:
'200':
description: Successful response
content:
application/json: {}
security:
- bearerAuth: []
patch:
tags:
- Webhooks
summary: Lemon Squeezy Update a webhook
requestBody:
content:
application/json:
schema:
type: object
example:
data:
type: webhooks
id: '1'
attributes:
events:
- order_created
- order_refunded
- subscription_created
- subscription_updated
- subscription_expired
responses:
'200':
description: Successful response
content:
application/json: {}
security:
- bearerAuth: []
delete:
tags:
- Webhooks
summary: Lemon Squeezy Delete a webhook
responses:
'200':
description: Successful response
content:
application/json: {}
security:
- bearerAuth: []
servers:
- url: https://api.lemonsqueezy.com
/v1/webhooks:
get:
tags:
- Webhooks
summary: Lemon Squeezy List all webhooks
responses:
'200':
description: Successful response
content:
application/json: {}
security:
- bearerAuth: []
post:
tags:
- Webhooks
summary: Lemon Squeezy Create a webhook
requestBody:
content:
application/json:
schema:
type: object
example:
data:
type: webhooks
attributes:
url: https://mysite.com/webhooks/
events:
- order_created
- subscription_created
- subscription_updated
- subscription_expired
secret: SIGNING_SECRET
relationships:
store:
data:
type: stores
id: '1'
responses:
'200':
description: Successful response
content:
application/json: {}
security:
- bearerAuth: []
servers:
- url: https://api.lemonsqueezy.com
/webhooks:
get:
operationId: listWebhooks
tags:
- Webhooks
summary: List all webhooks
parameters:
- name: filter[store_id]
in: query
schema:
type: string
responses:
'200':
description: A list of webhooks.
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/JsonApiCollection'
security:
- api_key: []
post:
operationId: createWebhook
tags:
- Webhooks
summary: Create a webhook
description: Create a webhook endpoint that receives signed event callbacks. Specify the URL, a signing secret, and the events to subscribe to.
requestBody:
required: true
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/JsonApiResource'
responses:
'201':
description: The created webhook object.
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/JsonApiResource'
security:
- api_key: []
servers:
- url: https://api.lemonsqueezy.com/v1
/webhooks/{id}:
get:
operationId: retrieveWebhook
tags:
- Webhooks
summary: Retrieve a webhook
parameters:
- $ref: '#/components/parameters/ResourceId'
responses:
'200':
description: A webhook object.
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/JsonApiResource'
security:
- api_key: []
patch:
operationId: updateWebhook
tags:
- Webhooks
summary: Update a webhook
parameters:
- $ref: '#/components/parameters/ResourceId'
requestBody:
required: true
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/JsonApiResource'
responses:
'200':
description: The updated webhook object.
content:
application/vnd.api+json:
schema:
$ref: '#/components/schemas/JsonApiResource'
security:
- api_key: []
delete:
operationId: deleteWebhook
tags:
- Webhooks
summary: Delete a webhook
parameters:
- $ref: '#/components/parameters/ResourceId'
responses:
'204':
description: The webhook was deleted.
security:
- api_key: []
servers:
- url: https://api.lemonsqueezy.com/v1
components:
schemas:
JsonApiResourceObject:
type: object
description: A single JSON:API resource object.
properties:
type:
type: string
description: The resource type, e.g. stores, products, subscriptions.
id:
type: string
description: The unique resource ID.
attributes:
type: object
description: The resource's attributes.
additionalProperties: true
relationships:
type: object
description: Related resources.
additionalProperties: true
links:
type: object
additionalProperties:
type: string
JsonApiCollection:
type: object
description: A JSON:API document containing a collection of resource objects.
properties:
jsonapi:
type: object
properties:
version:
type: string
data:
type: array
items:
$ref: '#/components/schemas/JsonApiResourceObject'
links:
type: object
description: Pagination links (first, last, prev, next).
additionalProperties:
type: string
meta:
type: object
properties:
page:
type: object
properties:
currentPage:
type: integer
from:
type: integer
lastPage:
type: integer
perPage:
type: integer
to:
type: integer
total:
type: integer
JsonApiResource:
type: object
description: A JSON:API document containing a single resource object.
properties:
jsonapi:
type: object
properties:
version:
type: string
data:
$ref: '#/components/schemas/JsonApiResourceObject'
links:
type: object
additionalProperties:
type: string
parameters:
ResourceId:
name: id
in: path
required: true
description: The resource ID.
schema:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
api_key:
type: http
scheme: bearer
bearerFormat: apiKey
description: Bearer authentication using a Lemon Squeezy API key. Requests must also send Accept and Content-Type headers of application/vnd.api+json.
x-refined-from:
- lemon-squeezy-api-openapi.yml
- lemon-squeezy-openapi.yml