Get Access Token

POST

Provide an OIDC ID and access token to get a Nominal access token, suitable for making API requests. Its expiry will match that of the input access token, capped at 24h. Throws NotAuthorized if either token is invalid or if the OIDC provider is not known.

Request

This endpoint expects an object.
idTokenstringRequired
accessTokenstringRequired

The access token’s audience must be for the Nominal API.

Response

This endpoint returns an object.
accessTokenstring
expiresAtSecondslong
userUuidUUID
orgUuidUUID