Use this endpoint to retrieve all subscriptions associated with your API key. Results are ordered by creation date, newest first. To keep response sizes predictable, list responses do not include address filters or the signing secret — useDocumentation Index
Fetch the complete documentation index at: https://docs.offthehook.dev/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/subscriptions/:id to fetch a specific subscription with its inlined addresses.
Request
GET /v1/subscriptions
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer oth_YOUR_API_KEY |
Query parameters
Number of subscriptions to return per page. Accepted range: 1–200. Values above 200 are clamped to 200.
Opaque cursor returned in a previous response. Pass this value to retrieve the next page of results. Omit this parameter to start from the beginning of the list.
Example request
Response
200 OK
List responses do not include
destination.secret or inline address filters. To retrieve a subscription’s address filters, call GET /v1/subscriptions/:id.Response fields
Array of subscription objects for the current page. Empty array when no subscriptions exist.
Opaque cursor for the next page. Pass this as the
nextPageToken query parameter in your next request. When this field is absent, you have reached the last page.Pagination
PassnextPageToken from each response as a query parameter to retrieve the following page. When the field is absent from the response, you have retrieved all subscriptions. Pagination tokens are versioned and opaque — do not parse or construct them manually.
Errors
| Code | Description |
|---|---|
invalid_pagination_token | The nextPageToken value is malformed or was issued by an incompatible version of the API. |
unauthorized | The Authorization header is missing or the API key is invalid. |