Introduction
API Documentation
- Sequences
- Sequence Actions
- Sequence Steps
- Sequence Steps Actions
- Sequence Contacts
- Contacts
- Contacts Actions
- Schedules
- Lists
- Tasks
- Templates
- Black List
- Email Accounts
- Statistics
- Reports
- Branded Links
- Webhooks
- Webhook Actions
- Webhook Events
- Webhooks Management
Schemas
Schedules
Create a schedule
Creates a new schedule
POST
/
schedules
Copy
curl --request POST \
--url https://stoplight.io/mocks/replyteam/reply/765516802/schedules \
--header 'Content-Type: application/json' \
--data '{
"id": "schedule-123",
"name": "Business Hours Schedule",
"schedule": {
"startDate": "2025-07-01T08:00:00Z",
"endDate": "2025-12-31T23:59:59Z",
"timezone": "Europe/Warsaw",
"workingWindows": [
{
"days": [
1,
2,
3,
4
],
"from": "09:00",
"to": "17:00"
},
{
"days": [
5
],
"from": "10:00",
"to": "18:00"
}
]
},
"useContactTimezone": false,
"skipPublicHolidays": true,
"publicHolidayRegion": "US",
"isDefault": true,
"isActive": true,
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z"
}'
Copy
{
"id": "schedule-123",
"name": "Business Hours Schedule",
"schedule": {
"startDate": "2025-07-01T08:00:00Z",
"endDate": "2025-12-31T23:59:59Z",
"timezone": "Europe/Warsaw",
"workingWindows": [
{
"days": [
1,
2,
3,
4
],
"from": "09:00",
"to": "17:00"
},
{
"days": [
5
],
"from": "10:00",
"to": "18:00"
}
]
},
"useContactTimezone": false,
"skipPublicHolidays": true,
"publicHolidayRegion": "US",
"isDefault": true,
"isActive": true,
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z"
}
Body
application/json
Response
201 - application/json
Schedule created successfully
The response is of type object
.
Copy
curl --request POST \
--url https://stoplight.io/mocks/replyteam/reply/765516802/schedules \
--header 'Content-Type: application/json' \
--data '{
"id": "schedule-123",
"name": "Business Hours Schedule",
"schedule": {
"startDate": "2025-07-01T08:00:00Z",
"endDate": "2025-12-31T23:59:59Z",
"timezone": "Europe/Warsaw",
"workingWindows": [
{
"days": [
1,
2,
3,
4
],
"from": "09:00",
"to": "17:00"
},
{
"days": [
5
],
"from": "10:00",
"to": "18:00"
}
]
},
"useContactTimezone": false,
"skipPublicHolidays": true,
"publicHolidayRegion": "US",
"isDefault": true,
"isActive": true,
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z"
}'
Copy
{
"id": "schedule-123",
"name": "Business Hours Schedule",
"schedule": {
"startDate": "2025-07-01T08:00:00Z",
"endDate": "2025-12-31T23:59:59Z",
"timezone": "Europe/Warsaw",
"workingWindows": [
{
"days": [
1,
2,
3,
4
],
"from": "09:00",
"to": "17:00"
},
{
"days": [
5
],
"from": "10:00",
"to": "18:00"
}
]
},
"useContactTimezone": false,
"skipPublicHolidays": true,
"publicHolidayRegion": "US",
"isDefault": true,
"isActive": true,
"createdAt": "2024-03-08T14:30:00Z",
"updatedAt": "2025-06-18T09:21:12Z"
}
Assistant
Responses are generated using AI and may contain mistakes.