curl --request PATCH \
--url https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"updateClientMetadata": {
"aiQuickReply": true
}
}
]
'{
"_id": "6970a1b2c3d4e5f601234567",
"send": {
"contents": [
{
"type": "text",
"text": "Thanks for reaching out! An agent will reply shortly."
}
],
"target": [
{
"name": "whatsapp",
"accountId": "972586640430"
}
]
},
"display": {
"position": "top",
"title": "Greeting"
},
"metadata": {
"created": 1768314807488
}
}{
"error": "<string>"
}{
"error": "<string>"
}Quick Replies
Update Existing Quick Reply
Update a quick reply. The body is an array of operations (1-1000), each containing exactly one of:
PATCH
https://{projectID}.texterchat.com/server/api/v2
/
quick-replies
/
{quickReplyId}
curl --request PATCH \
--url https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"updateClientMetadata": {
"aiQuickReply": true
}
}
]
'{
"_id": "6970a1b2c3d4e5f601234567",
"send": {
"contents": [
{
"type": "text",
"text": "Thanks for reaching out! An agent will reply shortly."
}
],
"target": [
{
"name": "whatsapp",
"accountId": "972586640430"
}
]
},
"display": {
"position": "top",
"title": "Greeting"
},
"metadata": {
"created": 1768314807488
}
}{
"error": "<string>"
}{
"error": "<string>"
}Required token scopes:
Manage quick replies
| Operation | Value |
|---|---|
updateSendContents | New contents array (replaces all messages) |
updateSendTarget | New target array |
updateBetweenMessagesDelay | Integer ms, or null to remove |
updateDisplayTitle | String, or null to remove |
updateDisplayNote | String, or null to remove |
updateDisplayPosition | "top" or "main" |
updateDisplayDepartments | Array of department IDs, or null |
updateDisplayUsers | Array of user UIDs, or null |
updateClientMetadata | Free-form object stored under metadata.client, or null to clear. Setting { "aiQuickReply": true } makes Texter’s inbox display the quick reply as an AI suggestion on its targeted chat |
Authorizations
API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.
Path Parameters
The unique identifier of the quick reply (_id). Obtain it from Get Existing Quick Replies. Must be a 24-character hex string - malformed IDs currently fail with a server error instead of 404
Body
application/json
Required array length:
1 - 1000 elementsResponse
The updated quick reply. Field-by-field reference: The Quick Reply object
A quick reply - one or more prepared messages agents (or the AI assistant) can send into matching chats