LogoRecal
Rest apiEndpoints

Get OAuth Link

GET
/v1/users/{userId}/oauth/{provider}/link

Get the auth url for the oauth provider

AuthorizationBearer <token>

Recal API token

In: header

Path Parameters

provider*unknown

Value in

  • "google"
  • "microsoft"
userId*string
Match^[A-Za-z0-9][A-Za-z0-9._-]{2,127}$

Query Parameters

accessType*|

Access type of the oauth connection

scope*array<string>||||

Scope of the oauth connection

redirectUrl?string

Redirect url for the oauth provider

Formaturi

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/users/user_123/oauth/google/link?accessType=offline&scope=string"
{  "data": {    "link": "http://example.com"  }}