curl --request GET \
--url https://apix.us.amity.co/api/v3/posts/{postId}/isflagbyme \
--header 'Authorization: Bearer <token>'
{
"status": "<string>",
"data": {
"result": true
}
}
Check whether user flag a given post.
curl --request GET \
--url https://apix.us.amity.co/api/v3/posts/{postId}/isflagbyme \
--header 'Authorization: Bearer <token>'
{
"status": "<string>",
"data": {
"result": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
900
Is flag by me response.
The response is of type object
.