Skip to main content
GET
List company contacts

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

page
integer

Page number for pagination

Required range: x >= 1
Example:

1

per_page
integer

Number of records per page

Required range: x >= 1
Example:

10

status
string

Filter contacts by status, case-insensitive. all or omitted returns every status.

Example:

"active"

search_query
string

Search contacts by name, email, or phone

Example:

"john"

by_metadata
string

Filter contacts by metadata (JSON string)

Example:

"{\"source\": \"api\"}"

member_id
string<uuid>

Return only the contacts that belong to this rep, given as the rep's member id (the member_id returned by GET /api/company/users). A contact belongs to the rep when it is assigned to the rep's membership or held by the rep's user, the same rule the rep's own app applies. An id that does not resolve to a member of this company (unknown, removed, or a member of another company) returns an empty list; inactive members that have not been removed still match.

Example:

"0192f3a8-7c41-7d2e-9b6a-3f1e2d4c5b61"

sort_by
string

Sorts the list. name sorts by full name (first and last name, case-insensitive; email or phone when the contact has no name). email sorts by email case-insensitively; contacts without an email come first when sorting ascending. Other values keep the default order (newest first).

Example:

"name"

sort_direction
string

Direction for sort_by=name or sort_by=email. desc sorts descending; any other value sorts ascending.

Example:

"asc"

Response

object | null

Success

contacts
Contact · object · null · null[] | null
meta
object | null