curl --request GET \
--url https://apix.us.amity.co/api/v1/markers/userMarker \
--header 'Authorization: Bearer <token>'
{
"userMarkers": [
{
"userId": "<string>",
"lastSyncAt": "2023-11-07T05:31:56Z",
"unreadCount": 123,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Get marker for user
curl --request GET \
--url https://apix.us.amity.co/api/v1/markers/userMarker \
--header 'Authorization: Bearer <token>'
{
"userMarkers": [
{
"userId": "<string>",
"lastSyncAt": "2023-11-07T05:31:56Z",
"unreadCount": 123,
"isMentioned": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Get marker user
The response is of type object
.