Page through contacts
const url = 'https://digize.com/api/v1/contacts/page';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/page \ --header 'x-api-key: <x-api-key>'A page of contacts, the newest first, searches included, with the same filters as crm.contacts.list and how many match in all. Pass nextCursor back as cursor for the next page; contacts added in between don’t shift the pages.
Needs the crm:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Dropdown fields’ options to match, by field key.
Dropdown fields’ options to match, by field key.
object
The nextCursor of the page before. Leave it out for the first page.
The nextCursor of the page before. Leave it out for the first page.
Rows on the page: 50 unless it says, 100 at most.
Rows on the page: 50 unless it says, 100 at most.
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
Pass it as cursor for the next page; null on the last.
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" }}