Auth

Exchange a refresh token for a new token pair

post/auth/refresh

Request

  • Base URL: https://api.medianfi.com/api/v1
  • URL: https://api.medianfi.com/api/v1/auth/refresh
  • Auth: none required

Request body

refreshTokenstring

Optional when the refresh token is available in the HttpOnly cookie.

companyIdstring uuid

Preferred active company context for users with multiple memberships.

Example request

{
  "refreshToken": "a1b2c3d4..."
}

Response

New token pair issued

successboolean

Example response

{
  "success": true,
  "data": {
    "expiresIn": 900
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.