# List contacts

> List contacts the installer can see, with optional filtering and pagination.

Source: https://docs.mycrmsim.com/docs/contacts/list-contacts

```http
GET https://backend.mysmsgateway.app/api/v1/ext/contacts
```

- Category: myCRMSIM Contacts / Contacts
- Auth: Bearer access token
- Scope: `contacts.read`

Returns the contacts in one workspace owned by the authenticated installer. `workspace_id` is required — listing across all workspaces in a single call is not supported.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `workspace_id` | query | number | yes | The workspace to list contacts from. Must belong to the installer. Example: `7` |
| `limit` | query | number | no | Page size — integer clamped to [1, 200]; default 50. Out-of-range or non-numeric values are normalised, NOT rejected; the applied bounds are echoed in the response `pagination` object (`limit`, `max_limit`, `requested_limit`, `normalized`). Example: `50` |
| `page` | query | number | no | 1-based page number; default 1. Clamped to >= 1 (page=0 becomes 1 and sets `normalized`). Rows are ordered by id descending, so with `limit` 200 and `total` 450 pages 1–3 return the full set. The applied page is echoed in `pagination.page`, with `total_pages` and the raw `requested_page`. Example: `1` |

## Response 200

OK

```json
{
  "success": true,
  "data": [
    {
      "id": 1234,
      "first_name": "Ada",
      "last_name": "Lovelace",
      "email": "ada@example.com",
      "phone_number": "+15551234567",
      "company_name": "Analytical Engines Ltd",
      "website": "https://analyticalengines.example.com",
      "linkedin_profile": "https://linkedin.com/in/ada",
      "summary": "Mathematician + first programmer. Interested in early CRM tooling.",
      "details": {
        "source": "newsletter",
        "priority": "high"
      },
      "address": "12 Mayfair St",
      "city": "London",
      "state": "Greater London",
      "country": "United Kingdom",
      "timezone": "Europe/London",
      "custom_fields": {
        "lead_score": 92,
        "owner": "gary"
      },
      "is_verified_sms": true,
      "is_verified_whatsapp": false,
      "is_verified_imessage": false,
      "last_contacted": "2026-05-20T11:02:09.000Z",
      "notes": [
        "Spoke at conference 2026-05-15"
      ],
      "tags": [
        "lead",
        "priority"
      ],
      "workspace_id": 7,
      "user_id": 42,
      "created_at": "2026-05-21T09:14:22.000Z",
      "updated_at": "2026-05-21T09:14:22.000Z",
      "deleted_at": null
    }
  ],
  "pagination": {
    "total": 1,
    "page": 1,
    "limit": 50,
    "max_limit": 200,
    "total_pages": 1,
    "requested_page": null,
    "requested_limit": null,
    "normalized": false
  }
}
```

## Response 400

Missing required parameter

```json
{
  "success": false,
  "message": "Missing required parameter: workspace_id"
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): contacts.read. This integration was granted: …"
}
```

## Response 404

workspace_id is not accessible to this token

```json
{
  "success": false,
  "message": "Workspace not found or not accessible to this token"
}
```
