Skip to main content
POST
/
auth
/
token-exchange
Exchange a GoTrue refresh token for a mnemom_session cookie
curl --request POST \
  --url https://api.mnemom.ai/v1/auth/token-exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "refresh_token": "<string>"
}
'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]"
  }
}

Body

application/json
refresh_token
string
required

GoTrue refresh token from the implicit-flow fragment.

Response

Session established. Sets mnemom_session.

user
object
required
aal
enum<string>
required
Available options:
aal1,
aal2