Link Search Menu Expand Document

Updated Tue Sep 21st 2021, 21:50 UTC

Post

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 '{json: "body"}' 

Response

Status

201

Response Type

No body


© 2021 TextUs