Skip to content

Connect Google Calendar

POST
/v1/tools/calendar/connect
curl --request POST \
--url https://api.orvoca.com/v1/tools/calendar/connect \
--header 'Authorization: Bearer <token>'

Returns the Google sign-in URL to open in this browser. Google asks only to see availability and to manage events on calendars the business owns. Needs a signed-in admin (not an API key).

Open this URL

Media typeapplication/json
object
url
required
string

Example generated

{
"url": "example"
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"param": "example",
"request_id": "example"
}
}

Not signed in or bad API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"param": "example",
"request_id": "example"
}
}

Not allowed

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"param": "example",
"request_id": "example"
}
}

Not found

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
param
string
request_id
required
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"param": "example",
"request_id": "example"
}
}