curl --request POST \
--url https://apix.us.amity.co/api/v3/channels/seen \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"channels": [
{
"channelId": "67cfbbe1c5dbdcb2909935e5",
"readToSegment": 4
},
{
"channelId": "67cfbbd7c5dbdcb2909935d0",
"readToSegment": 10
},
{
"channelId": "67cfbbd7c5dbdcb2909935d1",
"readToSegment": 10
}
]
}'
This response does not have an example.
curl --request POST \
--url https://apix.us.amity.co/api/v3/channels/seen \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"channels": [
{
"channelId": "67cfbbe1c5dbdcb2909935e5",
"readToSegment": 4
},
{
"channelId": "67cfbbd7c5dbdcb2909935d0",
"readToSegment": 10
},
{
"channelId": "67cfbbd7c5dbdcb2909935d1",
"readToSegment": 10
}
]
}'
This response does not have an example.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Information of read sengment to be updated
The body is of type object
.
This endpoint returns 200 OK if the request is successful.