Skip to main content

api_token_refresh_create

POST /api/token/refresh/

Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.

Request Body required
  • refresh string required
Responses

Schema
  • access string required

Request

Content-Type
Body required
{
"refresh": "string"
}
curl / cURL
curl -L -X POST 'https://docs.kubepay.io/api/token/refresh/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"refresh": "string"
}'