LogoRecal
Rest apiEndpoints

Verify OAuth Code

POST
/v1/users/oauth/{provider}/verify

Validate the oauth code

AuthorizationBearer <token>

Recal API token

In: header

Path Parameters

provider*unknown

Value in

  • "google"
  • "microsoft"

Query Parameters

redirectUrl?string

Redirect url for the oauth provider

Formaturi

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/users/oauth/google/verify" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "scope": [      "string"    ],    "state": "string"  }'
Empty