> ## Documentation Index
> Fetch the complete documentation index at: https://developers.scoutworks.app/llms.txt
> Use this file to discover all available pages before exploring further.

# curl

> Try every endpoint from a terminal. Each command works as it is, with the sandbox key.

Every command below uses the public [sandbox key](/guides/sandbox) and the demo server, so you can paste it as it is. Add `| jq` to the end to make the output easier to read, if you have [jq](https://jqlang.org).

## Your key

```bash theme={null}
curl https://api-demo.scoutworks.app/api/v1/me \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

## Members

```bash theme={null}
curl "https://api-demo.scoutworks.app/api/v1/members?limit=20" \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

Members who have left:

```bash theme={null}
curl "https://api-demo.scoutworks.app/api/v1/members?status=archived" \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

## Events

Published events from 1 September 2026:

```bash theme={null}
curl "https://api-demo.scoutworks.app/api/v1/events?from=2026-09-01T00:00:00Z&limit=20" \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

Who is going to one event. Replace `EVENT_ID` with an `id` from the list above:

```bash theme={null}
curl "https://api-demo.scoutworks.app/api/v1/events/EVENT_ID/attendees" \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

## Badges

Badges that have been awarded:

```bash theme={null}
curl "https://api-demo.scoutworks.app/api/v1/badges?status=awarded&limit=20" \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

## Waiting list

People who have been offered a place:

```bash theme={null}
curl "https://api-demo.scoutworks.app/api/v1/waiting-list?status=offered" \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

## See the rate-limit headers

`-i` prints the response headers too:

```bash theme={null}
curl -i https://api-demo.scoutworks.app/api/v1/me \
  -H "Authorization: Bearer sw_live_473adcc6c7236916021f0f24559db36576a53bab071d0f0c08a025adb510b6ab"
```

## The API description

The OpenAPI file needs no key:

```bash theme={null}
curl https://api-demo.scoutworks.app/api/v1/openapi.json
```

## Switch to your group

Change `api-demo.scoutworks.app` to `api.scoutworks.app`, and replace the sandbox key with your own.
