Skip to main content

Generate a service token (deprecated)

POST 

/api/auth/service-token

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Generates a service-to-service JWT token for the specified account and role. This endpoint is deprecated — use the Account API instead. Requires the aiphoriaStaff role.

Request

Responses

Returns the generated service token.