---
title: Quickstart
summary: From a token to your first authenticated read in three steps.
group: Get started
order: 10
---

Three steps from a token to reading your company's data. Most endpoints read; one path submits time entries. Every call is scoped to one SequiPay company.

## 1. Get a token

Tokens are minted by **SequiPay Core**, not here — this API validates and reads, it does not issue tokens. A token is an access/refresh pair scoped to one company, and it carries a set of `module:action` scopes (for example `users:read`). Ask your SequiPay Core administrator to create a credential for your integration and grant it the scopes you need.

Put the access token in an environment variable so it never lands in your code:

```bash
export SEQUIFI_TOKEN="paste-your-access-token-here"
```

## 2. Check the token works

Call the health endpoint. It needs a valid token but no special scope:

```bash
curl "https://{apiId}.execute-api.us-west-1.amazonaws.com/{stage}/v1/ping" \
  -H "Authorization: Bearer $SEQUIFI_TOKEN"
```

Replace `{apiId}` and `{stage}` with the values for the environment you were given (staging or live). A `200` with `{"status":200,"message":"success","data":...}` means the token is valid. A `401` means it is missing, expired, revoked, or malformed.

To see who the token belongs to and which scopes it carries:

```bash
curl ".../v1/me"     -H "Authorization: Bearer $SEQUIFI_TOKEN"
curl ".../v1/scopes" -H "Authorization: Bearer $SEQUIFI_TOKEN"
```

## 3. Read some data

List the people in your company. This requires the `users:read` scope:

```bash
curl "https://{apiId}.execute-api.us-west-1.amazonaws.com/{stage}/v1/users?per_page=1" \
  -H "Authorization: Bearer $SEQUIFI_TOKEN"
```

A `403` here means the token is valid but was not granted `users:read` — ask your Core administrator to add it.

From here, browse the API reference for the rest of the read endpoints, or read [Conventions](/guides/conventions.md) for the response envelope, pagination and filtering.
