Refresh Token

POST/api/v1/oauth2/refresh

Exchange refresh token for new access token.

Operation ID: refresh_token_api_v1_oauth2_refresh_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

200Successful Response

access_tokenstringrequired

The access token (JWT)

token_typestring

Token type (always 'Bearer')

expires_inintegerrequired

Access token lifetime in seconds

refresh_tokenstring

Refresh token for obtaining new access tokens

scopestring

Granted scope (may differ from requested)

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject