List contacts

GET
/api/v1/orgs/{orgId}/contacts

Returns a cursor-paginated list of contacts the API key user can see in the organization: contacts they created and contacts on deals they can read. Filter with search and status; sort with sort and dir.

Requires the api_contacts_list scope.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token using a Clai API key secret (clai_live_*).

In: header

Path Parameters

NameTypeDescription
orgId
required
string

Organization ID the key is operating in

Query Parameters

NameTypeDescription
searchstring

Matches name, email, or phone.

Lengthlength <= 200
statusstring

Deal activity filter.

Allowed"all""active""archived"Default"all"
sortstring
Allowed"name""email""phone""dealsCount""lastActivityAt""firstSeenAt"Default"lastActivityAt"
dirstring
Allowed"asc""desc"Default"desc"
limitinteger

Page size (1-100).

Default50Range1 <= value <= 100
cursorstring

Opaque cursor from a previous response.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.goclai.com/api/v1/orgs/org_2abc123/contacts"
{
  "contacts": [
    {
      "contactId": "b5ec5d98-4bee-4da1-ad24-dde86346cb1d",
      "fullName": "string",
      "email": "string",
      "phone": "string",
      "emails": [
        {
          "value": "string",
          "label": "personal"
        }
      ],
      "phones": [
        {
          "value": "string",
          "label": "personal"
        }
      ],
      "addresses": [
        {
          "placeId": "string",
          "formatted": "string",
          "components": {
            "line1": "string",
            "line2": "string",
            "city": "string",
            "region": "string",
            "postalCode": "string",
            "country": "string"
          },
          "label": "personal"
        }
      ],
      "companies": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "string",
          "role": "string"
        }
      ],
      "links": [
        {
          "value": "string",
          "label": "personal"
        }
      ],
      "tags": [
        "string"
      ],
      "dealActivity": "active",
      "dealsCount": 0,
      "lastActivityAt": "string",
      "firstSeenAt": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "linked": true,
      "contactUrl": "string"
    }
  ],
  "hasMore": true,
  "nextCursor": "string"
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}