List contacts for a company (paginated)
Contacts
List contacts
Retrieves a paginated list of contacts associated with a specific company. Supports filtering, sorting, and pagination options.
GET
List contacts for a company (paginated)
Authorizations
Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.
Path Parameters
Unique identifier for the company
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Query Parameters
Page number for pagination (must be a positive integer)
Required range:
x >= 1Example:
1
Number of items per page (10-100, default 10)
Required range:
10 <= x <= 100Example:
10
Field to sort by
Available options:
name, number, email, created_at Example:
"created_at"
Sort direction (default desc)
Available options:
asc, desc Example:
"desc"
Filter contacts by channel type
Available options:
phone, email, facebook, instagram, whatsapp Example:
"phone"

