---
title: "List contacts"
method: GET
path: "/contacts"
tags: ["X Contacts"]
---

# List contacts

`GET /contacts`

Filter and list all contacts. Supports filtering by name, email, phone number, reference ID, and active status.

## Query parameters

- `name` string
- `email` string
- `contact` string
- `reference_id` string
- `from` integer
- `to` integer
- `count` integer
- `skip` integer

## Response `200`

List of contacts

- object
  - `entity` string
  - `count` integer
  - `items` XContact[]
    - `id` string — Contact ID (cont_*)
    - `entity` 'contact'
    - `name` string
    - `email` string, email
    - `contact` string — Phone number
    - `type` 'vendor' | 'customer' | 'employee' | 'self' — Built-in types only via API; custom types must be created on Dashboard first
    - `reference_id` string — External reference (must be unique per merchant)
    - `batch_id` string
    - `active` boolean
    - `notes` object
    - `created_at` integer — Unix timestamp

## Other responses

- `400` — Bad request. Invalid parameters or missing required fields.
- `401` — Authentication failed. Invalid or missing API key credentials.
- `429` — Rate limit exceeded. Implement exponential backoff with jitter before retrying.
- `500` — Internal server error.

---

[API](https://skmtc.net/razorpay/apis/razorpay-api.md) · [All operations](https://skmtc.net/razorpay/apis/razorpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/razorpay/razorpay-api/versions/824ca9e6faef/schema)
