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

# Authentication

> Use personal tokens with the Authorization Bearer header on every request.

Scispot APIs authenticate with a **personal token** sent as a **Bearer** credential.

## Header

```http theme={null}
Authorization: Bearer YOUR_PERSONAL_TOKEN
Content-Type: application/json
```

<Warning>
  Treat tokens like passwords. Rotate any token that was shared or committed to source control.
</Warning>

## Obtain a token

1. Sign in at [labsheets.scispot.io](https://labsheets.scispot.io).
2. Open **Account → Personal Tokens**.
3. Generate a token with the scopes your integration needs.

## Example request

Create a labspace:

```bash theme={null}
curl --location 'https://cloudlab.scispot.io/labspace/create' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_PERSONAL_TOKEN' \
  --data '{
    "name": "My Labspace",
    "description": "Optional description"
  }'
```

## Playground

On endpoint pages, open the API playground and set **Authorization** to your Bearer token. Requests go to `https://cloudlab.scispot.io`.
