curl --request GET \
--url https://apix.us.amity.co/api/v5/messages/{messageId}/flags \
--header 'Authorization: Bearer <token>'
{
"result": true
}
Return my flag in message
curl --request GET \
--url https://apix.us.amity.co/api/v5/messages/{messageId}/flags \
--header 'Authorization: Bearer <token>'
{
"result": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of a message
30
"a85dca058f5b585f86a29f14"
successful operation
The response is of type object
.