Create

POST /users/:user/saved_replies

A Saved Reply is a user-defined canned message body that can be quickly chosen from a list and sent as a message.

Examples

Create a new Saved Reply

Request

POST /users/zygnZv/saved_replies

Body

{
  "saved_reply": {
                    "title":   "My Saved Reply",
                    "content": "This is my saved reply."
                  }
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X POST /users/zygnZv/saved_replies
    -d '{
  "saved_reply": {
                    "title":   "My Saved Reply",
                    "content": "This is my saved reply."
                  }
}'

Response

Status

201

Response Type

No body


© 2024 TextUs