Add
[POST] .../v1/quickreply/add
Adds a shared quick reply suggestion. Create a reusable quick-reply template that can be shown in chat workflows. The request body is required, text is required and text must not exceed 400 characters after trimming. The current request user must have quick reply add permission; the method inserts the template and returns new_id. Missing body, missing or too long text, denied permission, insert-id failures, storage errors are returned as HTTP 200 ErrorResult.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| text | String | Required | Suggestion text. |
Request Example
{
"text": "Approve"
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Insert | Created record result. |
Response Example
{
"ok": true,
"result": {
"new_id": 12
}
}