Create an app token; tenant grants coming soon
Authenticate with the Agent Filesystem app key and secret. The grant type determines the returned credential:
client_credentialsreturns a short-lived app access token.- Coming soon:
authorization_codeexchanges the single-use code returned bytenants/createfor a tenant access token and an offline refresh token. - Coming soon:
refresh_tokenrefreshes the tenant access token.
Agent runtime tokens are minted at agents/access_token/mint.
Managed-user tokens are minted at users/access_token/mint using
HTTP Basic authentication with the app key and secret.
Request
This endpoint expects an object.
grant_type
Allowed values:
code
Required for authorization_code.
refresh_token
Required for refresh_token.
Response
Issued access token
access_token
token_type
Allowed values:
expires_in
refresh_token
Coming soon: returned only when the tenant authorization code is exchanged.
scope