> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://developers.outpave.com/v1/llms.txt
> - v2: https://developers.outpave.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.outpave.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.outpave.com/_mcp/server.

# Make your first request

Set `API_HOST` to the API domain assigned to your integration and export your credentials as environment variables. These examples use `jq` to read the token.

## Platform API

#### Get an access token

```bash
TOKEN=$(curl -s "https://$API_HOST/api/v1/platform/token" \
  -H "Authorization: Bearer $API_KEY" | jq -r .token)
```

#### Check connectivity

`GET /api/v1/platform/ping` confirms that the token is valid and that your address is allowed.

```bash
curl "https://$API_HOST/api/v1/platform/ping" \
  -H "Authorization: Bearer $TOKEN"
```

```json
{ "message": "pong" }
```

## Company API

#### Get an access token

```bash
TOKEN=$(curl -s -X POST "https://$API_HOST/api/v1/access-token" \
  -H "Authorization: Bearer $API_KEY" | jq -r .token)
```

#### List your allocation types

Any `ReadOnly` or `Admin` key can call this.

```bash
curl "https://$API_HOST/api/v1/allocationTypes" \
  -H "Authorization: Bearer $TOKEN"
```

```json
{ "allocationTypes": ["ClassRef", "DepartmentRef"] }
```

## Next steps

* Browse every operation in the API reference.
* Read [Errors and rate limits](/v1/docs/guides/errors) before you go live.