Assistant
Schedule a reminder in an owned Assistant conversation.
Schedule a reminder in an owned Assistant conversation. The request is scoped to Assistant threads and content accessible to the authenticated caller.
POST
/
api
/
v1
/
assistant
/
threads
/
{id}
/
reminders
Schedule a reminder in an owned Assistant conversation.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"scheduleFor": "2023-11-07T05:31:56Z",
"message": {
"content": "<string>"
}
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
reason: '<string>',
scheduleFor: '2023-11-07T05:31:56Z',
message: {content: '<string>'}
})
};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders', 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"
payload = {
"reason": "<string>",
"scheduleFor": "2023-11-07T05:31:56Z",
"message": { "content": "<string>" }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"reminderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduledFor": "2023-11-07T05:31:56Z",
"reason": "<string>",
"status": "SCHEDULED",
"origin": "AGENT"
}Body
application/json
⌘I
Schedule a reminder in an owned Assistant conversation.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>",
"scheduleFor": "2023-11-07T05:31:56Z",
"message": {
"content": "<string>"
}
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
reason: '<string>',
scheduleFor: '2023-11-07T05:31:56Z',
message: {content: '<string>'}
})
};
fetch('https://api.revoengine.com/api/v1/assistant/threads/{id}/reminders', 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"
payload = {
"reason": "<string>",
"scheduleFor": "2023-11-07T05:31:56Z",
"message": { "content": "<string>" }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"reminderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduledFor": "2023-11-07T05:31:56Z",
"reason": "<string>",
"status": "SCHEDULED",
"origin": "AGENT"
}
