POST /api/messages/:message_id/flags

flag or bookmark a message

Success Response Code: 201

Params

Param name Description
message_id
required

id for flag or bookmark


Value: Must be a Integer

Response Fields

flag created flag Flag
flag[id] id for created flag Integer

Example Curl Commands

curl -X POST -v --basic -u "emily@socialcast.com:demo" "https://demo.socialcast.com/api/messages/407/flags.json"

Examples

POST /api/messages/35/flags.json
{}
201
{
  "flag": {
    "id": 1
  }
}