Link Search Menu Expand Document

Updated Fri Jun 18th 2021, 16:17 UTC

Put

PUT /saved_replies/:saved_reply

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

Examples

Update a Saved Reply that a User has available

Request

PUT /saved_replies/vxoonZb

Body

{
  "saved_reply": {
                    "title": "Updated Title",
                    "content": "updated content"
                  }
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X PUT /saved_replies/vxoonZb
     -d '{json: "body"}' 

Response

Status

200

Response Type

SavedReply

Example
{
  "@type": "SavedReply",
  "@context": "/contexts/SavedReply.jsonld",
  "id": "/saved_replies/vxoonZb",
  "title": "Updated Title",
  "content": "updated content",
  "shared": false,
  "user": "/users/wqyODPA"
}

© 2021 TextUs