Skip to main content
QUERY
customers(page: Int, perPage: Int, segmentV2Id: String, type: String, types: [String], tag: String, ids: [String], excludeIds: Boolean, searchValue: String, autoCompletion: Boolean, autoCompletionType: String, integration: String, form: String, startDate: String, endDate: String, leadStatus: String, sortField: String, sortDirection: SortDirection, sex: Int, birthDate: Date, dateFilters: String, emailValidationStatus: String, conformityMainType: String, conformityMainTypeId: String, conformityRelType: String, conformityIsRelated: Boolean, conformityIsSaved: Boolean): CustomersListResponse

Arguments

page
Int

1-based page index. Default: 1. See Pagination.

perPage
Int

Page size. Default: 20. See Pagination.

segmentV2Id
String

Restrict results to members of one segments-v2 segment.

type
String

Filter by a single record type/pipeline (implementation-defined).

types
[String]

Filter by multiple record types/pipelines.

tag
String

Filter by Tag id — only customers carrying that tag.

ids
[String]

Restrict results to these specific customer ids.

excludeIds
Boolean

When true, invert ids to exclude those customers instead of including them.

searchValue
String

Case-insensitive partial match across name/email/phone fields.

autoCompletion
Boolean

When true, run a lighter-weight query suited for search-as-you-type UIs.

autoCompletionType
String

Field to autocomplete against when autoCompletion is true.

integration
String

Filter by originating integration id.

form
String

Filter by the id of the form that captured this customer.

startDate
String

Only include customers created on/after this date (ISO string).

endDate
String

Only include customers created on/before this date (ISO string).

leadStatus
String

Filter by lead pipeline stage code.

sortField
String

Field name to sort by.

sortDirection

Sort direction paired with sortField.

sex
Int

Filter by sex code.

birthDate
Date

Filter by exact birth date.

dateFilters
String

Additional date-range filters as a JSON-encoded string.

emailValidationStatus
String

Filter by email verification status.

conformityMainType
String

Content type owning the relation (e.g. "customer"). Used with conformityMainTypeId to scope results to companies related to a Customer or other entity.

conformityMainTypeId
String

Id of the related record identified by conformityMainType.

conformityRelType
String

Content type on this side of the relation (defaults to "company").

conformityIsRelated
Boolean

When true, only return companies related to the given main type/id.

conformityIsSaved
Boolean

When true, only return companies already saved against the relation.

data

Customer rows for the current page.

pagination

Standard pagination metadata: totalCount, currentPage, totalPages, hasNextPage, hasPreviousPage, perPage.

Query
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦