Crego Platform
  1. Authentication
Crego Platform
  • Authentication
    • Login
      POST
    • Refresh JWT Token
      POST
  • Flow
    • Upload File
      POST
    • Create Runner
      POST
  1. Authentication

Refresh JWT Token

POST
/auth/tokens/refresh/
Refresh JWT access token using refresh token

Request

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Token refreshed successfully
Body

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://demo.preprod.crego.ai/api/auth/tokens/refresh/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "refresh": "string"
}'
Response Response Example
200 - Example 1
{
    "access": "string",
    "refresh": "string",
    "expires_in": 0,
    "token_type": "Bearer",
    "user": {
        "id": 0,
        "username": "string",
        "email": "user@example.com",
        "first_name": "string",
        "last_name": "string",
        "type": "staff"
    }
}
Modified at 2025-10-29 13:24:15
Previous
Login
Next
Upload File
Built with