Delete Quick Reply
curl --request DELETE \
--url https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)"OK"{
"error": "<string>"
}Quick Replies
Delete Quick Reply
Permanently delete a quick reply. For AI suggestions, delete the quick reply once it is no longer relevant so it disappears from the agent’s suggestion panel.
DELETE
https://{projectID}.texterchat.com/server/api/v2
/
quick-replies
/
{quickReplyId}
Delete Quick Reply
curl --request DELETE \
--url https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{projectID}.texterchat.com/server/api/v2/quick-replies/{quickReplyId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)"OK"{
"error": "<string>"
}Required token scopes:
Manage quick repliesהרשאות
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.
פרמטרי נתיב
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
תגובה
Quick reply deleted. Body is the plain text OK