getFormSubscriptions
Get all form subscriptions. 🔐 This method requires authorization.
Description
Fetches the authenticated user's form subscriptions. Resolves to an IFormSubscriptionsResponse, not an array: the IListFormSubscription entries are in items, the count in total.
.getFormSubscriptions(
,
);
Parameters schema
Schema
offset: number
Number of records to skip. Default: 0. offset + limit must not exceed 200; a larger window is rejected with 400.
example: 0
limit: number
Maximum number of records to return. Default: 30.
example: 30
Record limit. If the user group's permission for this method allows only restricted reading, the API returns at most the number of records set in the project settings (10 by default), whatever limit you pass. With full read access, limit works as usual. See Module permissions (opens in a new tab).
Examples
Minimal example
const response = await Events.getFormSubscriptions();
Example with optional parameters
const response = await Events.getFormSubscriptions(0, 30);
Example response
{
"total": 0,
"items": []
}
Response schema
Schema: IFormSubscriptionsResponse
items: IListFormSubscription[]
Form subscriptions of the current user.
items.eventMarker: string
Event marker.
example: "form_marker"
items.formDataId: number
Form data ID.
example: 123
total: number
Total number of subscriptions.
example: 0