POST
/auth/generate-tokensGenerate Tokens
Outcome - Exchanges your vault API key for an access token and a refresh token. This is the first call of every integration. Store both tokens securely; send the access token in the X-ACCESS-TOKEN header of all other requests.
Body Parameters
apiKeystringrequiredAPI Key
Responses
Response attributes
messagestringSuccess message
dataobjectObject containing the generated tokens
Show child attributes (4)
accessTokenstringJWT Access Token
refreshTokenstringJWT Refresh Token
expiresAtnumberToken expiration timestamp
vaultIdnumberVault ID
statusnumberHTTP status code
Was this page helpful?