Update
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 '{
"saved_reply": {
"title": "Updated Title",
"content": "updated content"
}
}'
Response
Status
200
Response Type
Example Body
{
"@type": "SavedReply",
"@context": "/contexts/SavedReply.jsonld",
"id": "/saved_replies/vxoonZb",
"title": "Updated Title",
"content": "updated content",
"shared": false,
"user": "/users/wqyODPA"
}