cURL JavaScript Python PHP C#
curl \
- H "Authorization: Bearer API_KEY" \
- X GET https : / / api. ayrshare . com / api/ auto- schedule/ list
{
"status" : "success" ,
"schedules" : {
"Title 1" : {
"lastScheduleDate" : "2024-01-05T22:30:00Z" ,
"schedule" : [
"20:03Z" ,
"22:34Z"
]
} ,
"Title 2" : {
"schedule" : [
"13:05Z" ,
"22:14Z"
] ,
"lastScheduleDate" : "2024-01-04T22:30:00Z" ,
"daysOfWeek" : [
2 ,
3 ,
4
]
}
}
}
Available on Premium, Business, Enterprise plans.
List the active auto schedules. Returns an array of schedules with titles, times, and last scheduled date. The lastScheduleDate
timestamp is the next schedule date or the previously scheduled date if no pending posts.
API Key of the Primary Profile.
Format:
Authorization: Bearer API_KEY
Profile Key of a User Profile.
Format:
Profile-Key: PROFILE_KEY
cURL JavaScript Python PHP C#
curl \
- H "Authorization: Bearer API_KEY" \
- X GET https : / / api. ayrshare . com / api/ auto- schedule/ list
{
"status" : "success" ,
"schedules" : {
"Title 1" : {
"lastScheduleDate" : "2024-01-05T22:30:00Z" ,
"schedule" : [
"20:03Z" ,
"22:34Z"
]
} ,
"Title 2" : {
"schedule" : [
"13:05Z" ,
"22:14Z"
] ,
"lastScheduleDate" : "2024-01-04T22:30:00Z" ,
"daysOfWeek" : [
2 ,
3 ,
4
]
}
}
}