List or search contacts
const url = 'https://digize.com/api/v1/contacts?search=maya';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://digize.com/api/v1/contacts?search=maya' \ --header 'x-api-key: <x-api-key>'Lists contacts, the newest first, or the best matches first for a search. Returns up to 1,000 rows and the total that match. Search matches the start of words in names, emails and phone numbers. To go through more than 1,000, use crm.contacts.page.
Needs the crm:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
mayaDropdown fields’ options to match, by field key.
Dropdown fields’ options to match, by field key.
object
Responses
Section titled “Responses”Done
object
object
In E.164, such as +15125550142.
The member who looks after them, by user id.
Lead: hasn’t ordered; customer: one or two orders; repeat: three or more.
What they’ve paid, less refunds, in minor units.
Custom field values by field key.
object
Example
{ "rows": [ { "source": "checkout", "stage": "lead" } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}