Posteady
Posteady Docs
사용 가이드개발자 가이드API 레퍼런스MCP

발행 시간표 조회

계정마다 주간 발행 시각과 예약에 쓸 다음 빈 시간을 확인합니다.

GET
/api/v1/posting-schedules
curl -X GET "https://example.com/api/v1/posting-schedules?accountId=11111111-1111-4111-8111-111111111111&slotCount=3"
{  "timezone": "Asia/Seoul",  "accounts": [    {      "accountId": "11111111-1111-4111-8111-111111111111",      "provider": "threads",      "username": "your_brand",      "timezone": "Asia/Seoul",      "schedule": {        "rows": [          {            "time": "09:00",            "days": [              1,              2,              3,              4,              5            ]          },          {            "time": "18:30",            "days": [              1,              3,              5            ]          }        ]      },      "nextFreeSlots": [        {          "scheduledAt": "2026-10-05T00:00:00.000Z",          "localDateTime": "2026-10-05 09:00:00"        },        {          "scheduledAt": "2026-10-05T09:30:00.000Z",          "localDateTime": "2026-10-05 18:30:00"        },        {          "scheduledAt": "2026-10-06T00:00:00.000Z",          "localDateTime": "2026-10-06 09:00:00"        }      ]    },    {      "accountId": "77777777-7777-4777-8777-777777777777",      "provider": "instagram",      "username": "your_brand",      "timezone": "Asia/Seoul",      "schedule": null,      "suggestedSchedule": {        "rows": [          {            "time": "12:00",            "days": [              0,              1,              2,              3,              4,              5,              6            ]          }        ]      },      "suggestedScheduleSource": "history"    }  ]}

API 키의 워크스페이스에 있는 Threads, X, LinkedIn, TikTok, Instagram, YouTube, Facebook 계정마다 발행 시간표를 반환합니다. 발행 시간표는 Posteady의 발행 시간표에서 정한 주간 발행 시각입니다. schedule.rows에는 워크스페이스 시간대(timezone) 기준 24시간제 HH:mm 시각과, 그 시각에 글을 올릴 요일(0 일요일부터 6 토요일까지)이 들어 있습니다.

시간표가 있는 계정은 nextFreeSlots에 글을 예약할 때 next_free_slot이 쓰는 빈 시간을 이른 순으로 담습니다. 글 여러 개를 한꺼번에 예약하려면 next_free_slot 대신 글마다 nextFreeSlots[i].scheduledAt을 하나씩 보내세요.

시간표가 없는 계정은 schedule이 null이고, suggestedSchedule에 Posteady가 처음 채우는 초안이 있습니다. 지난 90일 동안 이 계정의 예약 글에서 가장 자주 쓴 시각(suggestedScheduleSource history)이거나, 매일 09:00(suggestedScheduleSource default)입니다. 초안은 저장되지 않은 상태입니다. 초안을 쓰려면 사용자에게 보여 주고, 확인받은 뒤 PUT /api/v1/posting-schedules의 schedule로 그대로 보내세요.

인증

apiKey
인증Bearer <token>

위치: header

쿼리 매개변수

accountId?string

이 계정만 반환합니다.

형식uuid
slotCount?integer

시간표가 있는 계정마다 반환할 다음 빈 시간 수입니다. 0이면 반환하지 않습니다.

범위0 <= value <= 10
기본값3

응답 본문

application/json

application/json

application/json

카카오톡 문의하기