Auth

Exchange a refresh token for a new token pair

post/auth/refresh

Request

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

Request body

RefreshInput required
refreshToken, string

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

companyId, string uuid

Preferred active company context for users with multiple memberships.

Example request

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

Response

New token pair issued

TokenPairResponse required
success, boolean
data, intersection

Example response

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

Changes

No recorded changes to this operation across all 110 revisions of this API.