Contacts

List Contacts

This endpoint allows you to list all Contacts.

get/contacts

Request

  • Base URL: https://api.infraspeak.com/v3
  • URL: https://api.infraspeak.com/v3/contacts
  • Auth: HTTP bearer

Query parameters

limitinteger

Number of contacts per page (defaults to 25).

pageinteger

Page number for pagination (defaults to 1).

expandedstring

Comma-separated list of relations to include in the response. Allowed values: locals, profile_picture, suppliers, user, extensions_permissions.

sortstring

Sort results by one or more fields. Allowed fields: name, email. Use a comma-separated list for multiple sorts and prefix a field with "-" for descending order. The alias "sorts" is also supported.

s_contact_idinteger

Filter by a specific contact ID.

s_contact_id_instring

Comma-separated list of contact IDs to include.

s_contact_id_notinstring

Comma-separated list of contact IDs to exclude.

s_emailstring email

Filter by the exact email address.

s_email_likestring

Filter contacts whose email contains the provided value (case-insensitive).

s_email_notinstring

Comma-separated list of email addresses to exclude.

s_namestring

Filter by the exact contact name.

s_name_likestring

Filter contacts whose name contains the provided value (case-insensitive).

s_phonestring

Filter by the contact phone number.

s_has_accessstring

Filter by the has_access field (can be 1 or 0).

s_is_direct_userstring

Filters only contacts who have access to the Direct portal.

s_clients-client_idinteger

Filter contacts associated with the provided client ID.

sc_has_emailstring

Scope results to contacts that have a non-empty email address (flag parameter, any value).

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.