Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
Events

List events

Your project's subscription events of the last 30 days, newest first (within one millisecond, by sequence, highest first), each the very body its webhooks carry: the same id, the same data, byte for byte once parsed. Read it to catch up on what an endpoint missed while it was down or turned off.
The 30 days are counted from each call. An event is served once Mesub has written its body, which it does at its first delivery or at the first read here, whichever comes first, and never changes after.
An event whose capture failed is missing from the list until Mesub recovers it: Mesub is alerted, and an event is never served with a later state. Events before available_since are not served; every page says available_since.
created_at is set when the event's transaction begins, a moment before it is visible here: an event can appear below one you have already read. When you poll for what is new, do not stop at the first id you know: page on until created_at is a minute older than the newest you held, and skip the ids you have seen.
GEThttps://api.mesub.io/v1/events
GETList events
https://api.mesub.io/v1/events

Calls are real. They go to https://api.mesub.io and act on the project the key belongs to.

Authorization

The key stays in this browser and is sent only to the API. It is not stored or logged by the docs.

Query
cURL
curl "https://api.mesub.io/v1/events" \
  -H "Authorization: Bearer $MESUB_API_KEY"
Response

Send the request to see the status, the headers and the body.

Limit: 1,000 calls a minute per API key.Guide: Webhooks.

Headers

Mesub-Versionenum<string>

The version of this contract the call is written against. Without it, the call is served as the first version, 2026-10-02. Any other value is refused with 400 unsupported_version.

One of2026-10-02

Request example
curl "https://api.mesub.io/v1/events" \ -H "Authorization: Bearer $MESUB_API_KEY"
Response example
{ "data": [ { "id": "evt_cmg1x0evt0001", "object": "event", "type": "subscription.renewed", "created_at": "2026-01-31T00:01:00.000Z", "network": "mainnet-beta", "api_version": "2026-10-02", "sequence": 3, "data": { "id": "cmg1x0abc0001", "status": "active", "paused": false, "end_reason": null, "late_reason": null, "stop_reason": null, "access": true, "payment_status": "paid", "blocked_since": null, "blocked_reason": null, "plan": "pro", "wallet": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", "email": "[email protected]", "external_id": "user_123", "current_period_start": "2026-01-31T00:00:00.000Z", "current_period_end": "2026-03-02T00:00:00.000Z", "next_charge_at": "2026-03-02T00:00:00.000Z", "next_retry_at": null, "retry_deadline": null, "next_retry_number": null, "retries_allowed": null, "access_until": "2026-03-02T00:00:00.000Z", "closable": false, "closable_from": null, "created_at": "2026-01-01T00:00:00.000Z", "confirmed_at": "2026-01-01T00:00:05.000Z" }, "detail": { "amount": "9990000", "amount_received": "9990000", "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "period_start": "2026-01-31T00:00:00.000Z", "period_end": "2026-03-02T00:00:00.000Z", "signature": "5wHu1qwD4kLDLoREEPBpKvGvhbxWFxFFfr5nQq7dxAsRRDXvHRqpNvfsCvC1qzjWQhqmPtBb8LnZjKmvpehJqSWk" } } ], "has_more": false, "available_since": "2026-10-16T09:00:00.000Z" }