Vapi · Schema

GoogleCalendarOAuth2AuthorizationCredential

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
provider string
authorizationId string The authorization ID for the OAuth2 authorization
id string This is the unique identifier for the credential.
orgId string This is the unique identifier for the org that this credential belongs to.
createdAt string This is the ISO 8601 date-time string of when the credential was created.
updatedAt string This is the ISO 8601 date-time string of when the assistant was last updated.
name string This is the name of credential. This is just for your reference.
View JSON Schema on GitHub

JSON Schema

vapi-googlecalendaroauth2authorizationcredential-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GoogleCalendarOAuth2AuthorizationCredential",
  "title": "GoogleCalendarOAuth2AuthorizationCredential",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "google.calendar.oauth2-authorization"
      ]
    },
    "authorizationId": {
      "type": "string",
      "description": "The authorization ID for the OAuth2 authorization"
    },
    "id": {
      "type": "string",
      "description": "This is the unique identifier for the credential."
    },
    "orgId": {
      "type": "string",
      "description": "This is the unique identifier for the org that this credential belongs to."
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the credential was created."
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the assistant was last updated."
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    }
  },
  "required": [
    "provider",
    "authorizationId",
    "id",
    "orgId",
    "createdAt",
    "updatedAt"
  ]
}