List contacts
Changed onReturns a list of contacts for the current account
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Query parameters
Filter by lifecycle stage. A contact becomes a customer at its first paid order or first access grant, and never goes back to lead.
Search by name, email, company or phone number. A phone number matches however it is typed, e.g. 415 555 0123 finds +14155550123.
Only contacts with this tag, by id (tag_...) or name. Repeat it as tag[]=VIP&tag[]=Warm lead (up to 10) to list contacts with every one of those tags. A tag the account doesn't have is a 400.
true lists contacts who can be emailed; false lists those whose address is on the suppression list (unsubscribed, bounced or complained).
When true, lists deleted contacts that have not been permanently erased yet. Each has deleted_at and purge_at.
created (default) lists the newest first; total_spend lists the biggest spenders first.
Cursor for pagination — the ID of the last item in the previous page
Unix seconds, exact match
Unix seconds or an ISO 8601 time, exact match
Only return objects created in this window. Pass a Unix timestamp in seconds for an exact match, or bound it with created[gt], created[gte], created[lt] and created[lte], which combine: created[gte]=1735689600&created[lt]=1738368000 is January 2025. ISO 8601 times work too (created[gte]=2025-01-01T00:00:00Z), so a created_at from a response can be passed back as is, and an ISO 8601 date (created[gte]=2025-01-01) is that whole UTC day. Timestamps are in seconds: a value in milliseconds is rejected with 400 parameter_invalid.
Items per page
Filter by caller-owned metadata key/value pairs, e.g. metadata[campaign]=spring. Repeatable (up to 10 keys); all pairs must match.
Response
List of contacts
Changes
- info
added the new optional
queryrequest parametersubscribed - info
added the new optional
queryrequest parametertag
- info
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning