MemosMemos
Auth Service

Refresh Token

RefreshToken exchanges a valid refresh token for a new access token. The refresh token is read from the HttpOnly cookie. Returns a new short-lived access token.

POST
/api/v1/auth/refresh

Request Body

application/json

Response Body

application/json

application/json

curl -X POST "https://demo.usememos.com/api/v1/auth/refresh" \  -H "Content-Type: application/json" \  -d '{}'
{
  "accessToken": "string",
  "expiresAt": "2019-08-24T14:15:22Z"
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings