Get a contact
GET
/api/v1/contacts/{reference}
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://dashboard.azimea.com/api/v1/contacts/example"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://dashboard.azimea.com/api/v1/contacts/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://dashboard.azimea.com/api/v1/contacts/example \ --header 'Authorization: Bearer <token>'One contact, named by Azimea’s id (any contact, store ones included), by ext:
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”reference
required
string
Responses
Section titled “Responses”The contact, with its consent status, tags and custom attributes
Media typeapplication/json
object
isSuccess
boolean
value
One of:
object
id
string format: guid
storeId
string format: guid
email
string
firstName
string
lastName
string
phone
string
city
string
countryCode
string
consentStatus
string
isPayingCustomer
boolean
orderCount
integer format: int32
totalSpent
number format: decimal
lastOrderAt
string format: date-time
sourceCreatedAt
string format: date-time
lastSyncedAt
string format: date-time
fromOrders
boolean
consentSource
string
consentUpdatedAt
string format: date-time
storeConsentMode
One of:
string
marketingDeclared
boolean
tags
Array<string>
attributes
object
key
additional properties
lastOpenAt
string format: date-time
lastClickAt
string format: date-time
lastEmailedAt
string format: date-time
language
string
addedAt
string format: date-time
lastConversionAt
string format: date-time
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": { "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 }, "status": 0, "errors": [], "fieldErrors": null}Missing or invalid API key
The key lacks the contacts:read permission