members (records)
Required permit | Rate limit tokens cost |
---|---|
Reporting:Api:Report:Members | 10 |
Fields
id
Type | Filterable | Readonly |
---|---|---|
Integer |
community_id
Type | Filterable | Readonly |
---|---|---|
Integer | (via X-Customer header) |
optin_channel
Type | Filterable | Readonly |
---|---|---|
String |
X-Product-Name
header.optin_subchannel
Type | Filterable | Readonly |
---|---|---|
String |
X-Subproduct-Name
header.optin_platform
Type | Filterable | Readonly |
---|---|---|
Enum |
optin_channel
value.gender
Type | Filterable | Readonly |
---|---|---|
String |
gender
.age
Type | Filterable | Readonly |
---|---|---|
Enum |
"-14", "15-19", "20-24", "25-29", "30-34", "35-39", "40-44", "45-49", "50-54", "55-59", "60-64", "65-69", "70-74", "75-79", "80-"
birth_year_group
Type | Filterable | Readonly |
---|---|---|
Integer |
2000
means that member was born between 2000
and 2004
.subunit_ids
Type | Filterable | Readonly |
---|---|---|
Array[Integer] |
Subunits
feature.group_ids
Type | Filterable | Readonly |
---|---|---|
Array[Integer] |
favorite_stores
Type | Filterable | Readonly |
---|---|---|
Array[Integer] |
properties
Type | Filterable | Readonly |
---|---|---|
Object(dynamic) |
consents
Type | Filterable | Readonly |
---|---|---|
Object(key: name of consent, value: boolean status of consent) |
marketing_via_sms
Type | Filterable | Readonly |
---|---|---|
Boolean |
verified
sms_marketing
consentmarketing_via_email
Type | Filterable | Readonly |
---|---|---|
Boolean |
enabled
or verified
email_marketing
consentmarketing_via_push
Type | Filterable | Readonly |
---|---|---|
Boolean |
enabled
marketing_via_anything
Type | Filterable | Readonly |
---|---|---|
Boolean |
true
when at least one of: marketing_via_sms
, marketing_via_email
or marketing_via_push
is true
sms_status
Type | Filterable | Readonly |
---|---|---|
Enum |
email_status
Type | Filterable | Readonly |
---|---|---|
Enum |
push_status
Type | Filterable | Readonly |
---|---|---|
Enum |
push_devices
Type | Filterable | Readonly |
---|---|---|
Integer |
msisdn_country
Type | Filterable | Readonly |
---|---|---|
String(ISO 3166-1 alpha-2 ) |
Note that there are some countries that have same country code (for example
+1
)location_country
Type | Filterable | Readonly |
---|---|---|
String(ISO 3166-1 alpha-2 ) |
location_city
Type | Filterable | Readonly |
---|---|---|
String |
location_detail
Type | Filterable | Readonly |
---|---|---|
String |
location_latitude
Type | Filterable | Readonly |
---|---|---|
Numeric |
location_longitude
Type | Filterable | Readonly |
---|---|---|
Numeric |
created_at
Type | Filterable | Readonly |
---|---|---|
String(ISO 8601 timestamp) |
updated_at
Type | Filterable | Readonly |
---|---|---|
String(ISO 8601 timestamp) |
Query without aggregations
{
"records": [
{
"id": 4066131,
"community_id": 235,
"optin_channel": "webforms",
"optin_subchannel": null,
"optin_platform": "webforms",
"gender": "woman",
"birth_year_group": 2000,
"subunit_ids": [
5
],
"group_ids": [
32454,
32463,
39504,
40645,
75637,
76853,
92517
],
"favorite_stores": [],
"properties": {
"bool": false,
"interests": [
"dietary_and_nutrition"
],
"bonus_points": 0
},
"consents": {
"dmp_profiling": true,
"sms_marketing": true,
"cookie_tracking": true,
"email_marketing": true,
},
"marketing_via_sms": true,
"marketing_via_email": true,
"marketing_via_push": true,
"marketing_via_anything": true,
"sms_status": "verified",
"email_status": "verified",
"push_status": "enabled",
"push_devices": 1,
"msisdn_country": "NO",
"location_country": null,
"location_city": null,
"created_at": "2017-06-19T09:56:22.527000Z",
"updated_at": "2024-04-09T13:34:29.439000Z"
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
Aggregations
gender_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
gender | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"gender": "woman",
"members_count": 1
},
{
"community_id": 42,
"gender": null,
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
total_gender_count
Returned fields
Key | Type | Description |
---|---|---|
gender | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"gender": "woman",
"members_count": 1
},
{
"gender": null,
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
age_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
age | Enum | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"age": "20-24",
"members_count": 1
},
{
"community_id": 42,
"age": null,
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
total_age_count
Returned fields
Key | Type | Description |
---|---|---|
age | Enum | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"age": "20-24",
"members_count": 1
},
{
"age": null,
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
optin_channel_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
optin_channel | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"optin_channel": "default",
"members_count": 1
},
{
"community_id": 42,
"optin_channel": "webforms",
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
total_optin_channel_count
Returned fields
Key | Type | Description |
---|---|---|
optin_channel | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"optin_channel": "default",
"members_count": 1
},
{
"optin_channel": "webforms",
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
optin_subchannel_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
optin_subchannel | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"optin_subchannel": null,
"members_count": 1
},
{
"community_id": 42,
"optin_subchannel": "2242",
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
total_optin_subchannel_count
Returned fields
Key | Type | Description |
---|---|---|
optin_subchannel | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"optin_subchannel": null,
"members_count": 1
},
{
"optin_subchannel": "2242",
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
optin_platform_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
optin_platform | Enum | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"optin_platform": "android",
"members_count": 1
},
{
"community_id": 42,
"optin_platform": "other",
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
total_optin_platform_count
Returned fields
Key | Type | Description |
---|---|---|
optin_platform | Enum | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"optin_platform": "android",
"members_count": 1
},
{
"optin_platform": "other",
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
marketing_via_anything_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
marketing_via_anything | Bool | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"marketing_via_anything": true,
"members_count": 1
},
{
"community_id": 42,
"marketing_via_anything": false,
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
total_marketing_via_anything_count
Returned fields
Key | Type | Description |
---|---|---|
marketing_via_anything | Bool | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"marketing_via_anything": true,
"members_count": 1
},
{
"marketing_via_anything": false,
"members_count": 2
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}
location_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
location_city | String | See in Fields |
location_detail | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"location_city": "Oslo",
"location_detail": null,
"members_count": 1
},
{
"community_id": 42,
"location_city": "Oslo",
"location_detail": "Frogner",
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
total_location_count
Returned fields
Key | Type | Description |
---|---|---|
location_city | String | See in Fields |
location_detail | String | See in Fields |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"location_city": "Oslo",
"location_detail": null,
"members_count": 1
},
{
"location_city": "Oslo",
"location_detail": "Frogner",
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
consents_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
consent_key | String | Key of consent from consents field |
consent_value | Boolean | - |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"location_city": "Oslo",
"location_detail": null,
"members_count": 1
},
{
"community_id": 42,
"location_city": "Oslo",
"location_detail": "Frogner",
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
total_consents_count
Returned fields
Key | Type | Description |
---|---|---|
consent_key | String | Key of consent from consents field |
consent_value | Boolean | - |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"location_city": "Oslo",
"location_detail": null,
"members_count": 1
},
{
"location_city": "Oslo",
"location_detail": "Frogner",
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
interests_count
Returned fields
Key | Type | Description |
---|---|---|
community_id | Integer | See in Fields |
interest | String | One of interest key |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"community_id": 42,
"interest": "swimming",
"members_count": 1
},
{
"community_id": 42,
"interest": "cars",
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
total_interests_count
Returned fields
Key | Type | Description |
---|---|---|
interest | String | One of interest key |
members_count | Integer | Count of members |
Example query response
{
"records": [
{
"interest": "swimming",
"members_count": 1
},
{
"interest": "cars",
"members_count": 2
}
],
"pagination": {
"next_page_info": "CNOW-AE"
},
"result_type": "records"
}
Modified at 2024-10-29 14:06:55