Meeting preparations withCalendly by Mojju

Meeting preparations withCalendly by Mojju · Acciones GPT

Calendly API Integration

An OpenAPI specification for Calendly API endpoints, including scheduling events, managing users, and accessing event types.

  • GET /users/meList User's Event Types

    Returns basic information about your user account.

  • GET /event_typesList User's Event Types

    Returns all Event Types associated with a specified User. Use 'organization' to look up all Event Types that belong to the organization or 'user' to look up a user's Event Types in an organization. Either 'organization' or 'user' are required query params when using this endpoint.

Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Calendly API Integration",
    "description": "An OpenAPI specification for Calendly API endpoints, including scheduling events, managing users, and accessing event types.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.calendly.com"
    }
  ],
  "paths": {
    "/users/me": {
      "get": {
        "summary": "List User's Event Types",
        "operationId": "getUser",
        "description": "Returns basic information about your user account."
      }
    },
    "/event_types": {
      "get": {
        "summary": "List User's Event Types",
        "operationId": "getEventTypes",
        "description": "Returns all Event Types associated with a specified User. Use 'organization' to look up all Event Types that belong to the organization or 'user' to look up a user's Event Types in an organization. Either 'organization' or 'user' are required query params when using this endpoint.",
        "parameters": [
          {
            "name": "admin_managed",
            "in": "query",
            "description": "Return only admin managed event types if true, exclude admin managed event types if false, or include all event types if this parameter is omitted.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "organization",
            "in": "query",
            "description": "View available personal, team, and organization event types associated with the organization's URI.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user",
            "in": "query",
            "description": "View available personal, team, and organization event types associated with the user's URI.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user_availability_schedule",
            "in": "query",
            "description": "Used in conjunction with user parameter, returns a filtered list of Event Types that use the given primary availability schedule.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "active",
            "in": "query",
            "description": "Return only active event types if true, only inactive if false, or all event types if this parameter is omitted.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "The number of rows to return",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "page_token",
            "in": "query",
            "description": "The token to pass to get the next or previous portion of the collection",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Order results by the specified field and direction. Accepts comma-separated list of {field}:{direction} values. Supported fields are: name. Sort direction is specified as: asc, desc.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "name:asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A collection of event types",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "collection": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/EventType"
                      },
                      "description": "Array of Event Types"
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/Pagination"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EventType": {
        "type": "object",
        "properties": {
          "uri": {
            "type": "string",
            "description": "Canonical reference (unique identifier) for the event type"
          },
          "name": {
            "type": "string",
            "description": "The event type name (in human-readable format)"
          },
          "active": {
            "type": "boolean",
            "description": "Indicates if the event is active or not."
          },
          "slug": {
            "type": "string",
            "description": "The portion of the event type's URL that identifies a specific web page (in a human-readable format)"
          },
          "scheduling_url": {
            "type": "string",
            "description": "The URL of the user’s scheduling site where invitees book this event type"
          },
          "duration": {
            "type": "number",
            "description": "The length of sessions booked with this event type"
          },
          "kind": {
            "type": "string",
            "description": "Indicates if the event type is 'solo' or 'group'"
          },
          "pooling_type": {
            "type": "string",
            "description": "Indicates the pooling type of the event"
          },
          "type": {
            "type": "string",
            "description": "Indicates the type of the event"
          },
          "color": {
            "type": "string",
            "description": "The hexadecimal color value of the event type's scheduling page"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "The moment the event type was created"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "The moment the event type was last updated"
          },
          "internal_note": {
            "type": "string",
            "description": "Contents of a note that may be associated with the event type"
          },
          "description_plain": {
            "type": "string",
            "description": "The event type's description in non-formatted text"
          },
          "description_html": {
            "type": "string",
            "description": "The event type's description formatted with HTML"
          },
          "profile": {
            "type": "object",
            "description": "The publicly visible profile associated with the Event Type"
          },
          "secret": {
            "type": "boolean",
            "description": "Indicates if the event type is hidden on the owner's main scheduling page"
          },
          "booking_method": {
            "type": "string",
            "description": "Indicates the booking method of the event type"
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "description": "The moment the event type was deleted"
          },
          "admin_managed": {
            "type": "boolean",
            "description": "Indicates if this event type is managed by an organization admin"
          }
        }
      },
      "Pagination": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "description": "The number of rows to return"
          },
          "next_page": {
            "type": "string",
            "description": "URI to return the next page of an ordered list"
          },
          "previous_page": {
            "type": "string",
            "description": "URI to return the previous page of an ordered list"
          },
          "next_page_token": {
            "type": "string",
            "description": "Token to return the next page of an ordered list"
          },
          "previous_page_token": {
            "type": "string",
            "description": "Token to return the previous page of an ordered list"
          }
        }
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://auth.calendly.com/oauth/authorize",
            "tokenUrl": "https://auth.calendly.com/oauth/token"
          }
        }
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    }
  ]
}