Auth

Refresh

Rotate the refresh cookie and return a new access token. Presenting an already-used refresh token revokes every token from that login.

API key access

This route has its own authentication (or none); an API key is not used here.
POST/api/v1/auth/refresh

Response Body

curl -X POST "http://localhost:8000/api/v1/auth/refresh"
{
  "access_token": "string",
  "token_type": "bearer",
  "expires_in": 0,
  "user": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "email": "string",
    "name": "string",
    "created_at": "2019-08-24T14:15:22Z"
  }
}
Empty