cannedResponses.create
writes
Canned responses: create. Mutation — changes data. See the input schema for argument details.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | |
category | string | no | |
message | string | yes | |
tags | array of string | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
tenantId | string | yes | |
name | string | yes | |
category | string | yes | |
message | string | yes | |
tags | array of string | yes | |
usageCount | integer | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
cannedResponses.delete
writesconfirm
Delete a canned response template.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes |
cannedResponses.get
read-only
Canned responses: get. Read-only query. See the input schema for argument details.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
tenantId | string | yes | |
name | string | yes | |
category | string | yes | |
message | string | yes | |
tags | array of string | yes | |
usageCount | integer | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
cannedResponses.list
read-only
Canned responses: list. Read-only query. See the input schema for argument details.
Input parameters
Returns object.
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
tenantId | string | yes | |
name | string | yes | |
category | string | yes | |
message | string | yes | |
tags | array of string | yes | |
usageCount | integer | yes | |
createdAt | string | yes | |
updatedAt | string | yes |
cannedResponses.update
writes
Canned responses: update. Mutation — changes data. See the input schema for argument details.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
name | string | no | |
category | string | no | |
message | string | no | |
tags | array of string | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
tenantId | string | yes | |
name | string | yes | |
category | string | yes | |
message | string | yes | |
tags | array of string | yes | |
usageCount | integer | yes | |
createdAt | string | yes | |
updatedAt | string | yes |