Assistant
Run a scheduled reminder as soon as the conversation is available.
Makes the existing reminder due now. It keeps the saved payload and waits for an active turn in the conversation to finish.
POST
/
api
/
v1
/
assistant
/
threads
/
{id}
/
reminders
/
{reminderId}
/
run
Run a scheduled reminder as soon as the conversation is available.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders/{reminderId}/run \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders/{reminderId}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders/{reminderId}/run"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"reminderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduledFor": "2023-11-07T05:31:56Z",
"reason": "<string>",
"status": "SCHEDULED",
"message": {
"type": "text",
"content": "<string>"
},
"origin": "AGENT"
}⌘I
Run a scheduled reminder as soon as the conversation is available.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders/{reminderId}/run \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders/{reminderId}/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders/{reminderId}/run"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"reminderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduledFor": "2023-11-07T05:31:56Z",
"reason": "<string>",
"status": "SCHEDULED",
"message": {
"type": "text",
"content": "<string>"
},
"origin": "AGENT"
}
