검토·승인 결정
사람이 읽은 내용에 검토 완료·승인·수정 요청을 남깁니다.
curl -X POST "https://example.com/api/v1/approvals/post/55555555-5555-4555-8555-555555555555/decision?platform=threads" \ -H "Content-Type: application/json" \ -d '{ "decision": "approve", "expectedFingerprint": "9f2c4e1b7a" }'{ "workspaceId": "66666666-6666-4666-8666-666666666666", "subject": { "type": "post", "platform": "threads", "id": "55555555-5555-4555-8555-555555555555" }, "decision": "approve", "mode": "approve", "evaluation": { "status": "approved", "satisfied": true, "stale": false, "autoPassed": [], "nextStep": null }, "availableDecisions": [ "request_changes" ], "seriesDecision": null}대상 하나에 검토 완료·승인·수정 요청을 남깁니다. Posteady 검토·승인 화면에서 결정하는 것과 같습니다. 사람이 대상의 내용을 읽고 내린 결정을 그 읽기의 fingerprint와 함께 보내세요. 승인한 글은 예약 시각에 게시되고, 승인한 카드뉴스와 영상은 다운로드할 수 있습니다. request_changes는 의견과 함께 작성자에게 돌려보냅니다. 검토는 워크스페이스의 검토 담당만, 승인은 승인 담당만 할 수 있고, 승인 담당은 승인한 대상을 다시 돌려보낼 수도 있습니다. 읽은 뒤 내용이 바뀌었으면 결정은 APPROVAL_CONFLICT(409)로 거절됩니다. 대상을 다시 읽으세요. 반복 예약 글이면 같은 시리즈에서 내용이 같은 다른 예약 글에도 같은 결정이 적용됩니다. 예약 시각을 이미 놓친 글은 승인해도 게시되지 않습니다. 이미 게시된 글은 결정할 것이 없습니다.
인증
apiKey 위치: header
경로 매개변수
목록의 subject.type입니다.
허용값
- "post"
- "carousel"
- "video_clip"
목록의 subject.id입니다.
uuid쿼리 매개변수
목록의 subject.platform입니다. 글에는 꼭 있어야 합니다.
허용값
- "threads"
- "x"
- "linkedin"
- "instagram"
- "tiktok"
- "youtube"
- "facebook"
- "google_business"
- "pinterest"
요청 본문
application/json
TypeScript 타입
TypeScript에서 request body 타입을 사용하세요.
응답 본문
application/json
application/json
application/json
application/json
application/json