Create a schedule
curl --request POST \
--url https://chatatp-agent-builder-backend.onrender.com/v1/schedules/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_id": 123,
"conversation_id": 123
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agent_id: 123, conversation_id: 123})
};
fetch('https://chatatp-agent-builder-backend.onrender.com/v1/schedules/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chatatp-agent-builder-backend.onrender.com/v1/schedules/"
payload = {
"agent_id": 123,
"conversation_id": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Schedules
Create a schedule
Create a schedule
POST
/
v1
/
schedules
/
Create a schedule
curl --request POST \
--url https://chatatp-agent-builder-backend.onrender.com/v1/schedules/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_id": 123,
"conversation_id": 123
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agent_id: 123, conversation_id: 123})
};
fetch('https://chatatp-agent-builder-backend.onrender.com/v1/schedules/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://chatatp-agent-builder-backend.onrender.com/v1/schedules/"
payload = {
"agent_id": 123,
"conversation_id": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
