> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# API

> API reference for Agiled: every `agiled.api.*` operation with input and output types.

Every `agiled.api.*` operation is listed below with parameter shapes and return types from the plugin Zod schemas.

<Info>
  **New to Corsair?** See [API access](/concepts/api), [authentication](/concepts/auth), and [error handling](/concepts/error-handling).
</Info>

## Contacts

### list

`contacts.list`

List contacts from an Agiled workspace

**Risk:** `read`

```ts theme={null}
await corsair.agiled.api.contacts.list({});
```

**Input**

| Name    | Type     | Required | Description |
| ------- | -------- | -------- | ----------- |
| `page`  | `number` | No       | —           |
| `limit` | `number` | No       | —           |

**Output**

| Name           | Type       | Required | Description |
| -------------- | ---------- | -------- | ----------- |
| `data`         | `object[]` | Yes      | —           |
| `current_page` | `number`   | No       | —           |
| `last_page`    | `number`   | No       | —           |

<AccordionGroup>
  <Accordion title="data full type">
    ```ts theme={null}
    {
      id: number | string,
      first_name: string,
      last_name?: string,
      email?: string,
      phone?: string | null
    }[]
    ```
  </Accordion>
</AccordionGroup>

***
