# List event types (/docs/api-reference/scheduling-event-types/list-scheduling-event-types)

The environment's event types, newest first.

`GET https://api.coss.com/v1/scheduling/event_types`

Authenticate with your API key as a bearer token (`Authorization: Bearer coss_test_…`). Responses are JSON with snake_case fields; errors are `{ error: { type, code, message, param?, issues?, request_id } }` (https://coss.com/docs/api-reference/errors.md).

## Query parameters

- `limit` (integer, 1-100, default 20)
- `after` (string): The last id of the previous page.

## Example request

TypeScript (the `coss` package):

```ts
import { Coss } from "coss";

const coss = new Coss({
  apiKey: process.env.COSS_API_KEY,
  baseUrl: "https://api.coss.com",
});

const { data, error } = await coss.scheduling.eventTypes.list();
```

HTTP:

```sh
curl -X GET "https://api.coss.com/v1/scheduling/event_types" \
  -H "Authorization: Bearer $COSS_API_KEY"
```

## Response 200

A page of event types.

- `object` ("list", required)
- `data` (object[], required)
  - `object` ("scheduling.event_type", required)
  - `id` (string, required)
  - `uid` (string | null, required)
  - `title` (string, required)
  - `kind` ("one_on_one" | "pool" | "collective" | "group", required)
  - `status` ("active" | "archived", required)
  - `duration_minutes` (number, required)
  - `duration_options` (number[], required)
  - `step_minutes` (number, required)
  - `grid_time_zone` (string | null, required)
  - `buffer_before_minutes` (number, required)
  - `buffer_after_minutes` (number, required)
  - `min_notice_minutes` (number, required)
  - `booking_window` (object | null, required)
    - One of (1):
      - `kind` ("rolling", required)
      - `days` (integer, required, 1-730)
    - One of (2):
      - `kind` ("range", required)
      - `from` (string, required): A local date in the schedule's time zone.
      - `to` (string, required): A local date in the schedule's time zone.
  - `limits` (object[], required)
    - `period` ("day" | "week", required): In the host's time zone.
    - `max` (integer, required, 1-1000)
    - `scope` ("event_type" | "host", default "event_type"): Count this event type's bookings, or all of the host's.
  - `capacity` (number | null, required)
  - `requires_approval` (boolean, required)
  - `approval_ttl_minutes` (number, required)
  - `hold_ttl_seconds` (number, required)
  - `cancel_notice_minutes` (number, required)
  - `reschedule_notice_minutes` (number, required)
  - `questions` (object[], required)
    - `key` (string, required)
    - `type` ("text" | "textarea" | "select" | "radio" | "checkbox" | "phone" | "email" | "number", required)
    - `label` (string, required, 1-200 characters)
    - `required` (boolean, default false)
    - `options` (string[], at most 50 items, default [])
  - `locations` (object[], required)
    - One of (1):
      - `type` ("link", required)
      - `url` (string | null, uri, at most 2000 characters, default null)
    - One of (2):
      - `type` ("phone", required)
      - `number` (string | null, at most 32 characters, default null)
    - One of (3):
      - `type` ("in_person", required)
      - `address` (string | null, at most 500 characters, default null)
    - One of (4):
      - `type` ("google_meet", required)
    - One of (5):
      - `type` ("microsoft_teams", required)
  - `host_filter` (map of string | string[] | null, required)
  - `hosts` (object[], required)
    - `host` (string, required)
    - `role` ("required" | "member", required)
    - `weight` (number, required)
    - `schedule` (string | null, required)
  - `metadata` (map of string, required)
  - `created_at` (string, required)
  - `updated_at` (string, required)
- `has_more` (boolean, required)

Example:

```json
{
  "object": "list",
  "data": [
    {
      "object": "scheduling.event_type",
      "id": "evtype_01kd2m9a0b1c2d3e4f5g6h7j8m",
      "uid": null,
      "title": "Initial consultation",
      "kind": "one_on_one",
      "status": "active",
      "duration_minutes": 30,
      "duration_options": [],
      "step_minutes": 30,
      "grid_time_zone": null,
      "buffer_before_minutes": 0,
      "buffer_after_minutes": 10,
      "min_notice_minutes": 120,
      "booking_window": null,
      "limits": [],
      "capacity": null,
      "requires_approval": false,
      "approval_ttl_minutes": 1440,
      "hold_ttl_seconds": 600,
      "cancel_notice_minutes": 0,
      "reschedule_notice_minutes": 0,
      "questions": [],
      "locations": [],
      "host_filter": null,
      "hosts": [
        {
          "host": "host_01kd2m9a0b1c2d3e4f5g6h7j8m",
          "role": "member",
          "weight": 100,
          "schedule": null
        }
      ],
      "metadata": {},
      "created_at": "2027-01-01T10:00:00.000Z",
      "updated_at": "2027-01-01T10:00:00.000Z"
    }
  ],
  "has_more": false
}
```

## Errors

- `400`: The `Coss-Version` header names an unknown API version (`invalid_api_version`).
- `401`: The API key is missing, invalid, revoked or expired (`authentication_error`).
- `403`: The API key lacks the permission this endpoint needs (`permission_error`), or its organization is suspended (`organization_suspended`).
- `422`: The request failed validation (`validation_error`, see `issues`), or can't be done: see `code`.
- `429`: Too many requests with this API key (`rate_limited`), or too many requests with invalid keys from this address (`too_many_failed_authentications`). Retry after `Retry-After` seconds. Successful responses carry `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds until the limit is fully restored).
- `500`: Unexpected server error (`api_error` / `internal_error`).
- `503`: The API key could not be verified right now; retry (`service_unavailable`).