Browse the API reference

Assistants

Connect an account to a calendar

View as Markdown
puthttps://www.getrevox.com/api/assistants/{id}/calendars/{calendarId}/connection

Attach a Nango connection of the organization to the calendar, which takes the handle of that account (google_calendar_aric_at_getrevox.com, then _2 for a second calendar on the same account). Reconnecting the same account keeps the handle. Google's primary calendar, or the account's only event type, is picked right away; otherwise pick one with the selection endpoint.

Path parameters

  • idstringrequired
  • calendarIdstringrequired

Request body

  • connection_idstringrequired

    The Nango connection ID linking an account of the calendar's provider to Revox.

Responses

200Success
400Invalid request: the body or a parameter failed validation
  • messagestring
  • errorstring
  • bodyErrorsobject

    The validation errors returned from the API.

    Show 1 field
    • issuesarray of objectrequired
      Show 3 fields
      • patharray of one ofrequired
        Show 2 variants
        1. One ofstringstring

        2. One ofnumbernumber

      • messagestringrequired
      • codestring
404Not found in your organization
  • messagestring
  • errorstring
  • bodyErrorsobject

    The validation errors returned from the API.

    Show 1 field
    • issuesarray of objectrequired
      Show 3 fields
      • patharray of one ofrequired
        Show 2 variants
        1. One ofstringstring

        2. One ofnumbernumber

      • messagestringrequired
      • codestring