Skip to main content
POST
/
v1
/
auth
/
session
/
exchange
Exchange OAuth code for session
curl --request POST \
  --url https://api.usenaive.ai/v1/auth/session/exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>"
}
'
{}

Body

application/json
code
string
required

Response

Session established (sets naive_session cookie).

The response is of type object.