Skip to main content
POST
/
v1
/
oauth
/
openai
/
exchange
Exchange Oauth Code
curl --request POST \
  --url https://api.faces.sh/v1/oauth/openai/exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "state": "<string>"
}
'
{
  "connected": true
}

Headers

authorization
string | null

Body

application/json
code
string
required
state
string
required

Response

Successful Response

connected
boolean
required