Skip to main content
POST
Exchange an OAuth code for tokens

Body

application/json
code
string
required

Single-use code from the provider callback.

Example:

"PROVIDER_CODE"

Response

200 - application/json

Signed in.

{success, message, data} where data holds accessToken, refreshToken and the account.

success
boolean
Example:

true

message
string
Example:

"Login successful"

data
object