# Cal Integration via LowCodeAPI

**Last Updated**: February 11, 2026

## Overview
Scheduling and calendar automation

**Categories:**
- {'id': 'project-management', 'name': 'Project Management'}

## Base Endpoint
https://api.lowcodeapi.com/cal

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** TOKEN

**Official Documentation:** https://cal.com/docs/api-reference/v2/introduction

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Find all attendees

**Method:** GET
**LowCodeAPI Path:** /v2/attendees

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees?api_token=YOUR_API_TOKEN

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/cal/v2/attendees?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/attendees#find-all-attendees

### Create a new attendee

**Method:** POST
**LowCodeAPI Path:** /v2/attendees

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| bookingId | number |  |
| email | email |  |
| name | string |  |
| timeZone | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/cal/v2/attendees?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/attendees#create-a-new-attendee

### Find an attendee

**Method:** GET
**LowCodeAPI Path:** /v2/attendees/{id}

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees/{id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees/id?id={id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| id | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/cal/v2/attendees/{id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/attendees#find-an-attendee

### Edit an existing attendee

**Method:** PATCH
**LowCodeAPI Path:** /v2/attendees/{id}

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees/{id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees/id?id={id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| id | number |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| email | email |  |
| name | string |  |
| timeZone | string |  |

**Example Request (New Format):**

```bash
curl -X PATCH 'https://api.lowcodeapi.com/cal/v2/attendees/{id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/attendees#edit-an-existing-attendee

### Remove an existing attendee

**Method:** DELETE
**LowCodeAPI Path:** /v2/attendees/{id}

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees/{id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/attendees/id?id={id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| id | number |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/cal/v2/attendees/{id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/attendees#remove-an-existing-attendee

### Create a new availability

**Method:** POST
**LowCodeAPI Path:** /v2/availabilities

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities?api_token=YOUR_API_TOKEN

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| days | array |  |
| endTime | string |  |
| scheduleId | number |  |
| startTime | string |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/cal/v2/availabilities?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/availabilities#create-a-new-availability

### Find an availability

**Method:** GET
**LowCodeAPI Path:** /v2/availabilities/{id}

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities/{id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities/id?id={id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| id | number |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/cal/v2/availabilities/{id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/availabilities#find-an-availability

### Edit an existing availability

**Method:** PATCH
**LowCodeAPI Path:** /v2/availabilities/{id}

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities/{id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities/id?id={id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| id | number |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| days | number |  |
| endTime | string |  |
| scheduleId | number |  |
| startTime | string |  |

**Example Request (New Format):**

```bash
curl -X PATCH 'https://api.lowcodeapi.com/cal/v2/availabilities/{id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/availabilities#edit-an-existing-availability

### Remove an existing availability

**Method:** DELETE
**LowCodeAPI Path:** /v2/availabilities/{id}

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities/{id}?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/availabilities/id?id={id}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| id | number |  |

**Example Request (New Format):**

```bash
curl -X DELETE 'https://api.lowcodeapi.com/cal/v2/availabilities/{id}?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/availabilities#remove-an-existing-availability

### Find all booking references

**Method:** GET
**LowCodeAPI Path:** /v2/booking-references

**New Format URL:**
https://api.lowcodeapi.com/cal/v2/booking-references?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/cal/v2/booking-references?api_token=YOUR_API_TOKEN

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/cal/v2/booking-references?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://cal.com/docs/api-reference/v2/booking-references#find-all-booking-references


## Usage Examples

### Example 1: Basic Chat Completion

Creating a simple text completion or chat message:

```bash
# Create a chat completion - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/cal/v1/chat/completions?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-name",
    "messages": [
      {"role": "user", "content": "Hello, how can you help me?"}
    ]
  }'

# Response includes generated content
```

### Example 2: Text Generation with Path Parameters

Generating text with specific model settings:

```bash
# Generate content using a specific model
curl -X POST "https://api.lowcodeapi.com/cal/v1/models/generate?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Write a short poem about technology",
    "max_tokens": 100
  }'

# Or if the provider uses model in the path:
curl -X POST "https://api.lowcodeapi.com/cal/v1/models/{MODEL_ID}:generateContent?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"parts": [{"text": "Write a short story"}]}]
  }'
```

### Example 3: List Available Models

```bash
# Get list of available models
curl -X GET "https://api.lowcodeapi.com/cal/v1/models?api_token=YOUR_API_TOKEN"
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Find all attendees | GET | Attendees |
| Create a new attendee | POST | Attendees |
| Find an attendee | GET | Attendees |
| Edit an existing attendee | PATCH | Attendees |
| Remove an existing attendee | DELETE | Attendees |
| Create a new availability | POST | Availabilities |
| Find an availability | GET | Availabilities |
| Edit an existing availability | PATCH | Availabilities |
| Remove an existing availability | DELETE | Availabilities |
| Find all booking references | GET | Booking References |
| Create a new booking reference | POST | Booking References |
| Find a booking reference | GET | Booking References |
| Edit an existing booking reference | PATCH | Booking References |
| Remove an existing booking reference | DELETE | Booking References |
| Find all bookings | GET | Bookings |
| Create a new booking | POST | Bookings |
| Find a booking | GET | Bookings |
| Edit an existing booking | PATCH | Bookings |
| Remove an existing booking | DELETE | Bookings |
| Find all custom inputs | GET | Custom Inputs |
| Create a new custom input | POST | Custom Inputs |
| Find a custom input | GET | Custom Inputs |
| Edit an existing custom input | PATCH | Custom Inputs |
| Remove an existing custom input | DELETE | Custom Inputs |
| Find all destination calendars | GET | Destination Calendars |
| Create a new destination calendar | POST | Destination Calendars |
| Find a destination calendar | GET | Destination Calendars |
| Edit an existing destination calendar | PATCH | Destination Calendars |
| Remove an existing destination calendar | DELETE | Destination Calendars |
| Find all event types | GET | Event Types |
| Create a new event type | POST | Event Types |
| Find an event type | GET | Event Types |
| Edit an existing event type | PATCH | Event Types |
| Remove an existing event type | DELETE | Event Types |
| Find all memberships | GET | Memberships |
| Create a new membership | POST | Memberships |
| Find a membership | GET | Memberships |
| Edit an existing membership | PATCH | Memberships |
| Remove an existing membership | DELETE | Memberships |
| Find all payments | GET | Payments |
| Find a payment | GET | Payments |
| Find all schedules | GET | Schedules |
| Create a new schedule | POST | Schedules |
| Find a schedule | GET | Schedules |
| Edit an existing schedule | PATCH | Schedules |
| Remove an existing schedule | DELETE | Schedules |
| Find all selected calendars | GET | Selected Calendars |
| Create a new selected calendar | POST | Selected Calendars |
| Find a selected calendar | GET | Selected Calendars |
| Edit an existing selected calendar | PATCH | Selected Calendars |
| Remove an existing selected calendar | DELETE | Selected Calendars |
| Find all teams | GET | Teams |
| Create a new team | POST | Teams |
| Find a team | GET | Teams |
| Edit an existing team | PATCH | Teams |
| Remove an existing team | DELETE | Teams |
| Get team availability | GET | Teams |
| Find all users | GET | Users |
| Find a user | GET | Users |
| Edit an existing user | PATCH | Users |
| Remove an existing user | DELETE | Users |
| Create a new user | POST | Users |
| Find all webhooks | GET | Webhooks |
| Create a new webhook | POST | Webhooks |
| Find a webhook | GET | Webhooks |
| Edit an existing webhook | PATCH | Webhooks |
| Delete a webhook | DELETE | Webhooks |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/cal/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/cal/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```