Skip to content

List contacts

GET
/api/v1/contacts
curl --request GET \
--url 'https://dashboard.azimea.com/api/v1/contacts?segment=01a10a3c-6b7d-7c52-8e1f-2a3b4c5d6e7f&page=1&pageSize=100' \
--header 'Authorization: Bearer <token>'

A page of the company’s contacts for its own systems, newest first: everyone (store, import and API contacts alike), or only the people of one segment (segment, an id from GET /segments), the same people a campaign or a flow aimed at that segment would reach. page from 1, pageSize 1 to 200 (default 50); totalCount tells how many pages there are. Needs contacts:read.

segment
string format: guid
nullable
Example
01a10a3c-6b7d-7c52-8e1f-2a3b4c5d6e7f
page
required
integer format: int32
Example
1
pageSize
required
integer format: int32
Example
100

A page of contacts with the total count

Media typeapplication/json
object
isSuccess
boolean
value
One of:
object
items
Array<object>
object
id
string format: guid
storeId
string format: guid
nullable
email
string
firstName
string
nullable
lastName
string
nullable
phone
string
nullable
city
string
nullable
countryCode
string
nullable
consentStatus
string
Allowed values: Unknown SoftOptIn Subscribed Unsubscribed Bounced Complained CheckoutStarted PendingConfirmation
isPayingCustomer
boolean
orderCount
integer format: int32
totalSpent
number format: decimal
lastOrderAt
string format: date-time
nullable
sourceCreatedAt
string format: date-time
nullable
lastSyncedAt
string format: date-time
nullable
fromOrders
boolean
consentSource
string
nullable
consentUpdatedAt
string format: date-time
nullable
storeConsentMode
One of:
string
Allowed values: Explicit Notice OwnConsent None
marketingDeclared
boolean
tags
Array<string>
nullable
attributes
object
key
additional properties
lastOpenAt
string format: date-time
nullable
lastClickAt
string format: date-time
nullable
lastEmailedAt
string format: date-time
nullable
language
string
nullable
addedAt
string format: date-time
nullable
lastConversionAt
string format: date-time
nullable
page
integer format: int32
pageSize
integer format: int32
totalCount
integer format: int32
status
integer format: int32
errors
Array<object>
object
code
string
message
string
params
object
key
additional properties
fieldErrors
object
key
additional properties
Array<object>
object
code
string
message
string
params
object
key
additional properties
Example
{
"isSuccess": true,
"value": {
"items": [
{
"id": "01a10a3c-5e2f-7b41-9c0d-4f7a2b6e1d90",
"storeId": null,
"email": "ana.popescu@example.com",
"firstName": "Ana",
"lastName": "Popescu",
"phone": "+40721000000",
"city": "Cluj-Napoca",
"countryCode": "RO",
"consentStatus": "Subscribed",
"isPayingCustomer": false,
"orderCount": 0,
"totalSpent": 0,
"lastOrderAt": null,
"sourceCreatedAt": null,
"lastSyncedAt": null,
"fromOrders": false,
"consentSource": "api",
"consentUpdatedAt": "2026-10-05T09:30:00+00:00",
"storeConsentMode": null,
"marketingDeclared": false,
"tags": [
"trial"
],
"attributes": {
"plan": "pro",
"seats": 12
},
"lastOpenAt": null,
"lastClickAt": null,
"lastEmailedAt": null,
"language": "ro",
"addedAt": "2026-10-05T09:30:00+00:00",
"lastConversionAt": null
}
],
"page": 1,
"pageSize": 100,
"totalCount": 1
},
"status": 0,
"errors": [],
"fieldErrors": null
}

Validation failed: see errors[].code and fieldErrors

Media typeapplication/problem+json
object
statusCode
integer format: int32
default: 400
message
string
default: One or more errors occurred!
errors
object
key
additional properties
Array<string>
Example
{
"statusCode": 400,
"message": "One or more errors occurred!"
}

Missing or invalid API key

The key lacks the contacts:read permission