Rest apiEndpoints
Get OAuth Link
Get the auth url for the oauth provider
Authorization
token 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
Format
uriResponse 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" }}