Skip to content

CRM

Search and list CRM contacts

Find CRM contacts in an authorized workspace or event by name, email, phone number, or social handle (@handle for Instagram, X, or Bluesky), or filter by status or tag. Returns contact IDs, email, phone, socialHandles, company, tags, and dashboard links. Use organizationId platform only for Endurance HQ's own CRM as a platform admin; omit organizationId and eventId only for personal CRM.

Method

GET

Path

/v1/crm/contacts

Required scope

crm:read

Request

curl -X GET "https://api.endurancehq.app/v1/crm/contacts" \
  -H "Authorization: Bearer $EHQ_API_KEY"

Query schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "organizationId": {
      "description": "CRM workspace owner: use platform for Endurance HQ's own CRM (platform admins only), or an authorized organization ID. Omit for personal CRM unless eventId is given.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "eventId": {
      "description": "Optional event ID to scope contacts linked to that event.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "search": {
      "description": "Search by name, email, phone number, or social handle (@handle).",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "unsubscribed"
      ]
    },
    "tag": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "limit": {
      "default": 25,
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}

Response

Success status: 200

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "isCompany": {
            "type": "boolean"
          },
          "personName": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "socialHandles": {
            "type": "object",
            "properties": {
              "instagram": {
                "type": "string"
              },
              "x": {
                "type": "string"
              },
              "bluesky": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "eventIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "href": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "organizationId",
          "firstName",
          "lastName",
          "isCompany",
          "personName",
          "email",
          "phone",
          "socialHandles",
          "company",
          "jobTitle",
          "city",
          "state",
          "status",
          "tags",
          "eventIds",
          "href"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}

Other surfaces

MCP tool: ehq_crm_contacts_list