Decide on an approval
Record a review, approval, or change request on content the person has read.
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}Record a review, approval, or change request on one item, the same as deciding on the Approvals page in Posteady. Send the decision the person made after reading the item's content, with the fingerprint from that read. An approved post is published at its scheduled time, and an approved carousel or video can be downloaded. request_changes sends the item back to the author with the comment. Only the workspace's reviewers can review and only its approvers can approve; an approver can also send an approved item back. If the content changed after it was read, the decision is refused with APPROVAL_CONFLICT (409): read the item again. For a recurring post, the decision also applies to the series' other scheduled posts with the same content. Approving a post that already missed its scheduled time doesn't publish it. A post that was already published has nothing to decide.
Authorization
apiKey In: header
Path parameters
subject.type from the list.
Value in
- "post"
- "carousel"
- "video_clip"
subject.id from the list.
uuidQuery parameters
subject.platform from the list. Required for posts.
Value in
- "threads"
- "x"
- "linkedin"
- "instagram"
- "tiktok"
- "youtube"
- "facebook"
- "google_business"
- "pinterest"
Request body
application/json
TypeScript definitions
Use the request body type in TypeScript.
Response body
application/json
application/json
application/json
application/json
application/json