# List presubscriptions `GET /api/v1/presubscriptions` Lists registration request records in the workspace. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Presubscriptions → Read**. ## Headers - `X-Sport-Id` (integer) — Use the sport ID to limit the response to one sport. ## Query parameters - `audience` (string) — Use athlete, coach, staff, or all. Defaults to athlete. - `status` (string) — Use pending or approved. Defaults to pending. - `athlete_id` (integer) — Filter by linked athlete. - `enrollment_scope` (string) — Use seasonal, occasional, or unassigned. - `season` (string) — Use a season label, current, unassigned, or all. - `fields[presubscriptions]` (string) — Optional comma-separated field list. - `q` (string) — Search submitted form values. - `length` (integer) — Number of records to return. - `start` (integer) — Zero-based offset. - `draw` (string) — Optional request marker echoed in the response. - `sort` (string) — Sort by id, tsc, or tsu. Prefix the field name with a minus sign for descending order. - `order` (string) — Direction for unprefixed sort fields. Use asc or desc. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --get \ --url "https://api.asdincloud.com/api/v1/presubscriptions" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" \ --data-urlencode "status=pending" \ --data-urlencode "audience=athlete" \ --data-urlencode "length=25" ``` ## Response **200 OK** Returns matching requests in `data`, with form labels and applicant names where available. Example with fictional data and selected fields. ```json { "status": "success", "data": [ { "id": 34, "sport_id": 3, "request_type": "athlete", "form_id": 21, "athlete_id": null, "staff_id": null, "input": { "athlete.firstname": "Alex", "athlete.surname": "Example" }, "approved_at": null, "verified_at": null, "enrollment_scope": "seasonal", "target_season_label": "2026/2027", "firstname": "Alex", "surname": "Example", "yearOfBirth": null, "formName": "Tryout registration", "requestType": "athlete" } ], "records_total": 1, "records_filtered": 1, "draw": null } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission.