GET /api/v2/user/notifications
Content-Type: application/vnd.api+json
Body
Parameters
Filters
account_list_id
TypeID string
Description
Filter user notifications by account list
Required
No
read
Typeboolean
Description
Filter checks if read is either "true" or "false"
Required
No
Response
Headers
Body
Fields
data
Type[UserNotification]
Description
An array of UserNotifications
Notification [GET]
Notification [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
read
Typeboolean
Description
If this notification has been read by the user then read should be marked as true
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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
notification.data
TypeNotification
Description
The Notification this user_notification is associated with
user.data
TypePerson
Description
The User this user_notification is associated with
Notification [PUT]
Notification [PUT]
Request
Endpoint
Body
Parameters
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
Required
No
overwrite
Typeboolean
Description
Only used for updating a record where you want to ignore the server's ' 'updated_in_db_at value and force overwrite the values for the record. ' 'Must be true to work.
Required
No
read
Typeboolean
Description
If this notification has been read by the user then read should be marked as true
Required
No
updated_at
Typedate
Description
The timestamp of when this resource was last updated
Required
No
updated_in_db_at
Typedate
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.
Required
No
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
read
Typeboolean
Description
If this notification has been read by the user then read should be marked as true
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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
notification.data
TypeNotification
Description
The Notification this user_notification is associated with
user.data
TypePerson
Description
The User this user_notification is associated with
Notification [READ]
Notification [READ]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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.