MagickMind

Refresh an access token

POST
/v1/auth/refresh

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/auth/refresh" \  -H "Content-Type: application/json" \  -d '{    "refresh_token": "string"  }'
{  "access_token": "string",  "expires_in": 0,  "id_token": "string",  "not-before-policy": 0,  "refresh_expires_in": 0,  "refresh_token": "string",  "scope": "string",  "session_state": "string",  "token_type": "string"}