Home > Documentation

Life Events

This endpoint lets you manage life events for contacts in your account.

Life events help you track important moments in a person's life, such as birthdays, anniversaries, or other significant occasions.

Each life event can be customized with an icon, colors, and reminder settings.

The Life Event object

This object represents a life event attached to a person in your account.

Attributes

id integer

The ID of the life event.

object string

The object type. Always 'life_event'.

description string

The description of the life event.

happened_at string

The date when the life event occurred, in ISO 8601 format.

comment string|null

Additional comments about the life event.

icon string|null

The icon associated with the life event.

bg_color string|null

The background color for the life event.

text_color string|null

The text color for the life event.

should_be_reminded boolean

Whether the life event should trigger reminders.

person_id integer

The ID of the person this life event is attached to.

created_at integer

The date and time the object was created, in Unix timestamp format.

updated_at integer

The date and time the object was last updated, in Unix timestamp format.

Example
{
"id": 123 ,
"object": "life_event" ,
"description": "Birthday" ,
"happened_at": "2024-03-15" ,
"comment": "Celebrated with family" ,
"icon": "cake" ,
"bg_color": "#FF5733" ,
"text_color": "#FFFFFF" ,
"should_be_reminded": true ,
"person_id": 456 ,
"created_at": 1710424800 ,
"updated_at": 1710424800
}

Get the list of life events for a person

This endpoint retrieves all life events associated with a specific person, ordered by creation date in descending order.

URL parameters

person_id integer required

The ID of the person whose life events you want to retrieve.

Query parameters

No query parameters are available for this endpoint.

Response attributes

data array

An array of life event objects.

GET /api/persons/{person_id}/life-events
{
"data": [
{
"id": 123 ,
"object": "life_event" ,
"description": "Birthday" ,
"happened_at": "2024-03-15" ,
"comment": "Celebrated with family" ,
"icon": "cake" ,
"bg_color": "#FF5733" ,
"text_color": "#FFFFFF" ,
"should_be_reminded": true ,
"person_id": 456 ,
"created_at": 1710424800 ,
"updated_at": 1710424800
}
]
}

Get a specific life event

This endpoint retrieves a specific life event by its ID.

URL parameters

person_id integer required

The ID of the person the life event belongs to.

id integer required

The ID of the life event to retrieve.

Query parameters

No query parameters are available for this endpoint.

Response attributes

data object

The requested life event object.

GET /api/persons/{person_id}/life-events/{id}
{
"data": {
"id": 123 ,
"object": "life_event" ,
"description": "Birthday" ,
"happened_at": "2024-03-15" ,
"comment": "Celebrated with family" ,
"icon": "cake" ,
"bg_color": "#FF5733" ,
"text_color": "#FFFFFF" ,
"should_be_reminded": true ,
"person_id": 456 ,
"created_at": 1710424800 ,
"updated_at": 1710424800
}
}

Create a new life event

This endpoint creates a new life event for a person. It will return the life event in the response.

URL parameters

person_id integer required

The ID of the person to add the life event to.

Query parameters

description string required

The description of the life event.

happened_at string required

The date when the life event occurred, in ISO 8601 format.

comment string

Additional comments about the life event.

icon string

The icon associated with the life event.

bg_color string

The background color for the life event.

text_color string

The text color for the life event.

should_be_reminded boolean

Whether the life event should trigger reminders. Defaults to false.

Response attributes

data object

The created life event object.

POST /api/persons/{person_id}/life-events
{
"data": {
"id": 123 ,
"object": "life_event" ,
"description": "Birthday" ,
"happened_at": "2024-03-15" ,
"comment": "Celebrated with family" ,
"icon": "cake" ,
"bg_color": "#FF5733" ,
"text_color": "#FFFFFF" ,
"should_be_reminded": true ,
"person_id": 456 ,
"created_at": 1710424800 ,
"updated_at": 1710424800
}
}

Update a life event

This endpoint updates an existing life event. It will return the updated life event in the response.

URL parameters

person_id integer required

The ID of the person the life event belongs to.

id integer required

The ID of the life event to update.

Query parameters

description string required

The description of the life event.

happened_at string required

The date when the life event occurred, in ISO 8601 format.

comment string

Additional comments about the life event.

icon string

The icon associated with the life event.

bg_color string

The background color for the life event.

text_color string

The text color for the life event.

should_be_reminded boolean

Whether the life event should trigger reminders.

Response attributes

data object

The updated life event object.

PUT /api/persons/{person_id}/life-events/{id}
{
"data": {
"id": 123 ,
"object": "life_event" ,
"description": "Birthday" ,
"happened_at": "2024-03-15" ,
"comment": "Celebrated with family" ,
"icon": "cake" ,
"bg_color": "#FF5733" ,
"text_color": "#FFFFFF" ,
"should_be_reminded": true ,
"person_id": 456 ,
"created_at": 1710424800 ,
"updated_at": 1710424800
}
}

Delete a life event

This endpoint deletes a life event. It will return a 204 No Content response on success.

URL parameters

person_id integer required

The ID of the person the life event belongs to.

id integer required

The ID of the life event to delete.

Query parameters

No query parameters are available for this endpoint.

Response attributes

This endpoint returns a 204 No Content response with no body on success.

DELETE /api/persons/{person_id}/life-events/{id}
204 No Content
Taylor Swift being happy

Please login to vote.

It's free and will help us improve the page.

Taylor will be proud of you.

Last updated on April 11, 2025.