Analytics
Analytics Documentation
Analytic [GET]
Analytic [GET]
Request
Endpoint
GET /api/v2/contacts/analytics
Content-Type: application/vnd.api+json
Body
Parameters
Filters
account_list_id
Type string
Description The account list to run the analytics report on
Required No
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OK
Body
{
"data": {
"id": "contact::analytics",
"type": "contact_analytics",
"attributes": {
"created_at": "2022-01-12T17:18:45Z",
"first_gift_not_received_count": 3,
"partners_30_days_late_count": 0,
"partners_60_days_late_count": 0,
"partners_90_days_late_count": 0,
"updated_at": null,
"updated_in_db_at": null
},
"relationships": {
"birthdays_this_week": {
"data": [
{
"id": "e8083285-69c5-4c3b-bf73-2d3262a4572b",
"type": "people"
},
{
"id": "041d864d-1d06-472e-aa62-8ab9a798aafb",
"type": "people"
}
]
},
"anniversaries_this_week": {
"data": [
{
"id": "f519d509-aa34-450e-8d2d-92be1cff636a",
"type": "contacts"
}
]
},
"first_gift_not_received_contacts": {
"data": [
{
"id": "f519d509-aa34-450e-8d2d-92be1cff636a",
"type": "contacts"
},
{
"id": "7378690b-e4fd-4c01-af6e-6d58e5d60526",
"type": "contacts"
},
{
"id": "e5046ea4-16e2-44c4-a82a-f95c0baef095",
"type": "contacts"
}
]
},
"partners_30_days_late_contacts": {
"data": [
]
},
"partners_60_days_late_contacts": {
"data": [
]
},
"partners_90_days_late_contacts": {
"data": [
]
}
}
}
}
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
first_gift_not_received_count
Type
number
Description First gift not received count
partners_30_days_late_count
Type
number
Description Partners 31 to 60 Days Late Count
partners_60_days_late_count
Type
number
Description Partners 61 to 90 Days Late Count
partners_90_days_late_count
Type
number
Description Partners 91 Days Late Count
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
anniversaries_this_week.data
Type
Contact
Description Contacts with people who have anniversaries this week
birthdays_this_week.data
Type
Person
Description People with birthdays this week
first_gift_not_received_contacts.data
Type
Contact
Description Contacts where the first gift has not been received
partners_30_days_late_contacts.data
Type
Contact
Description Contacts 31 to 60 Days Late
partners_60_days_late_contacts.data
Type
Contact
Description Contacts 61 to 90 Days Late
partners_90_days_late_contacts.data
Type
Contact
Description Contacts 90 Days Late
Last updated