curl --request GET \
--url https://apix.spotzee.com/api/client/subscriptions \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": 7,
"project_id": 42,
"name": "Weekly newsletter",
"channel": "email",
"is_public": true,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"nextCursor": "<string>",
"prevCursor": "<string>",
"limit": 123
}Returns a paginated list of subscription types in the project. Subscription types are the opt-in channels a contact can subscribe to.
curl --request GET \
--url https://apix.spotzee.com/api/client/subscriptions \
--header 'Authorization: Bearer <token>'{
"results": [
{
"id": 7,
"project_id": 42,
"name": "Weekly newsletter",
"channel": "email",
"is_public": true,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"nextCursor": "<string>",
"prevCursor": "<string>",
"limit": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Project-scoped secret API key (sk_…). Pass in the Authorization: Bearer <key> header. Grants access to the project the key was issued for.
Opaque cursor returned by a previous page response. Omit on the first request.
Direction to walk relative to cursor. Defaults to next when omitted.
next, prev Maximum results per page. Use -1 to request all (rate-limited; large pages may be rejected).
-1 <= x <= 10025
Field to sort by. Defaults vary per resource.
"created_at"
Sort direction. Defaults vary per resource.
asc, desc Free-text search across the resource’s indexed fields.
A page of subscription types.
Paginated response of SubscriptionList.
Page of results, ordered per the request’s sort and direction.
Hide child attributes
Numeric subscription-type identifier.
7
Identifier of the owning project.
42
Human-readable subscription-type name shown on preference centres.
"Weekly newsletter"
Delivery channel a subscription type covers.
email, text, push, webhook, in_app "email"
Whether this subscription type is shown on customer-facing preference centres.
Time the subscription type was created. ISO 8601.
Time the subscription type was last modified. ISO 8601.
Opaque cursor for the next page. null when no further pages exist.
Opaque cursor for the previous page. null when on the first page.
Page size used to build this response.
Was this page helpful?