kochira
  1. auth
kochira
  • account
    • auth
      • Register
        POST
      • Login
        POST
      • Logout
        POST
      • Refresh
        POST
      • Infer
        GET
  • account
  • link
    • shortening
      • My Endpoints
      • Get By Id
      • Create
      • Update By Id
      • Delete By Id
    • redirect
      • Redirect
  • subscription
    • Get Self
      GET
  1. auth

Refresh

POST
/account/api/v1/auth/refresh

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/account/api/v1/auth/refresh' \
--header 'token: {{refreshToken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjp7InVzZXJJZCI6M30sImlzcyI6ImtvY2hpcmEiLCJleHAiOjE3NTY4MDE1MTcsIm5iZiI6MTc1NjgwMDMxNywiaWF0IjoxNzU2ODAwMzE3fQ.fVALbQ2l4W9XTobRxP8mAoDRtlTvy4qF8T3-deb3qAM"
}'
Response Response Example
200 - Success
{
    "token": {
        "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjp7InVzZXJJZCI6NTl9LCJpc3MiOiJrb2NoaXJhIiwiZXhwIjoxNzU4MjUyNjI0LCJuYmYiOjE3NTgyNDkwMjQsImlhdCI6MTc1ODI0OTAyNH0.xfuaMitS0Mu8OiMnJKiV7ofjZLwOCmUFIf3tNxJlVM0",
        "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjp7InVzZXJJZCI6NTl9LCJpc3MiOiJrb2NoaXJhIiwiZXhwIjoxNzU4MjUwMjI0LCJuYmYiOjE3NTgyNDkwMjQsImlhdCI6MTc1ODI0OTAyNH0.7QOi9gIrqFg8-wJoMpLUSBRnV3tA67yQiHvFNCk4sZU"
    }
}
Modified at 2025-10-10 00:05:44
Previous
Logout
Next
Infer
Built with