---
title: "Add Site Auth Token"
method: POST
path: "/entities/site/{site_id}/token"
tags: ["3. Sites"]
---

# Add Site Auth Token

`POST /entities/site/{site_id}/token`

Provide an auth token to Axle, for dispatching the site's assets.

This token should provide access to all of the assets registered against the specified site.

This is only required where Axle is not able to access this site via an aggregated API in your systems.

## Path parameters

- `site_id` string, uuid, required

## Request body

- SiteAuthTokenRequest — Request model for providing an auth token to enable Axle to access assets at a site.
  - `refresh_token` string — Refresh token for acquiring fresh access tokens after they expire; required, except for 'API_KEY'-type submissions
  - `access_token` string — Access token for dispatching and monitoring assets
  - `token_type` string — Type of token (e.g. 'Bearer' or 'API_KEY')
  - `expires_utc` string, date-time — Time in UTC at which the token expires
  - `expires_in` integer — Time in seconds until the token expires

## Response `200`

Token successfully processed

- unknown

## Other responses

- `404` — Site not found or not authorized to access
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.dev/axle/apis/axle-api-docs.md) · [All operations](https://skmtc.dev/axle/apis/axle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axle/axle-api-docs/revisions/75be7f9a952f/schema)
