v1

latestOpenAPI 3.1.02026-07-264793109.1 KB
3. Sites

Add Site Auth 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.

post/entities/site/{site_id}/token

Path parameters

site_idstring uuid required

Request body

refresh_tokenstring

Refresh token for acquiring fresh access tokens after they expire; required, except for 'API_KEY'-type submissions

access_tokenstring

Access token for dispatching and monitoring assets

token_typestring

Type of token (e.g. 'Bearer' or 'API_KEY')

expires_utcstring date-time

Time in UTC at which the token expires

expires_ininteger

Time in seconds until the token expires

Response

Token successfully processed

{"stackTrail":"paths:/entities/site/{site_id}/token:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}