Request content approval
Create a pending approval for an exact post version, selected accounts and provider choices with social.update. LinkedIn accepts text or one still JPEG/PNG image; dispatch checks private Drive bytes and publishing consent, and confirms only a positive Post receipt. Older image jobs retain their recorded status-read requirements. Threads accepts text up to 500 characters or one clean Drive JPEG with threads.mediaTransfer=true. This does not queue or publish. Optional workspace query selects an existing Account workspace with current placement and Social action permissions; the key organisation is fixed. For POST, workspace belongs in the query, never the body. Version v1.
Parameters
| Name | Body | Description |
|---|---|---|
postId | POST | Social draft post ID in this workspace. Linking a generation or campaign item also requires current access to that post. |
revision | POST | Exact saved revision to read or the current revision expected by a write. A stale write is refused; reread before making a new decision. |
accountIds | POST | Distinct selected Social account IDs for this approval request. Each destination is checked independently against current account access and reviewed content. |
scheduledAt | POST | Reviewed publication time as a timestamp, or null where immediate scheduling is supported. Future scheduling and timezone validation still apply. |
timezone | POST | IANA timezone name used for the reviewed schedule, for example Asia/Kolkata. |
youtube | POST | Reviewed object containing exactly privacy (private, unlisted or public), categoryId (a string of 1–3 decimal digits), and madeForKids (explicit boolean). Required for a YouTube target. These reviewed choices apply to the saved video revision; they do not bypass title, video-byte or current Account upload checks. |
x | POST | Reviewed object containing only madeWithAi (required boolean true or false). Required when reviewing an X target; false must be retained explicitly. The saved choice belongs to this approval revision. Weighted text limits, attachment inspection and current Account media consent still apply. |
instagram | POST | Reviewed object with kind (image, reel, carousel or story), madeWithAi (explicit boolean) and mediaTransfer (explicit true). Image: exactly one JPEG attachment; optional altText up to 1000 Unicode characters. Reel: exactly one MP4 attachment and required shareToFeed boolean. Carousel: only those common fields plus items, an ordered array of 2–10 objects with kind (image or video) and optional altText for image items only, up to 1000 Unicode characters; each position must match its JPEG/MP4 attachment. Story: exactly the common fields plus mediaKind (image or video), one matching JPEG/MP4 attachment, and an empty provider caption; no altText, shareToFeed or items. All formats require current Account consent, reviewed Drive access and actual media inspection; format selection alone does not establish readiness. |
facebook | POST | Reviewed object containing only madeWithAi (required boolean when this object is supplied). The explicit choice is required for a Facebook video target; text/image reviews do not require it. Do not supply kind or published: those are derived and saved by the server. Attachment inspection and current Account permission remain required. |
threads | POST | Reviewed object containing only mediaTransfer (explicit boolean). A Threads image target requires mediaTransfer true to transfer its reviewed private Drive JPEG. Text-only targets can omit this object. Current Account publishing consent and the exact reviewed post revision remain required. |
requestKey | POST | Stable key for this exact request. Retain the original body and key when recovering a lost response; do not start a new provider write to resolve an unknown outcome. |
Request
curl -X POST "https://api.wrnexus.com/social/request-review?workspace=workspace-id" \
-H "Authorization: Bearer $WRNEXUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"postId": "post-id",
"revision": 1,
"accountIds": [
"account-id"
],
"scheduledAt": null,
"timezone": "Asia/Kolkata",
"x": {
"madeWithAi": false
},
"requestKey": "review_request_001"
}'Body
{
"postId": "post-id",
"revision": 1,
"accountIds": [
"account-id"
],
"scheduledAt": null,
"timezone": "Asia/Kolkata",
"x": {
"madeWithAi": false
},
"requestKey": "review_request_001"
}Response
200 (or 201 for a new send) on success:
{
"ok": true,
"data": {
"id": "review-id",
"post_id": "post-id",
"revision": 1,
"current_revision": 1,
"stale": false,
"account_ids": [
"account-id"
],
"scheduled_at": null,
"timezone": "Asia/Kolkata",
"requested_by": "member-id",
"requested_at": "2026-10-22T12:00:00.000Z",
"status": "pending",
"decided_by": null,
"decided_at": null,
"provider_options": {
"x": {
"madeWithAi": false
}
},
"content": {
"title": "Reviewed draft",
"body": "Reviewed draft content",
"variants": {},
"media": []
}
},
"requestId": "illustrative-request"
}Errors
Every error uses the same envelope, with a stable error.code to branch on and a requestId to reference when contacting support:
{
"ok": false,
"error": {
"code": "operation-not-allowed",
"message": "This API key is not allowed to use sms/send."
},
"requestId": "req_0f2a9c"
}| Status | Code | Meaning |
|---|---|---|
| 401 | api-key-required / api-key-invalid | Missing, invalid, revoked or expired key. |
| 403 | operation-not-allowed | The key isn't scoped for this app/operation. |
| 403 | kyc-required | The organization hasn't completed identity verification. |
| 403 | ip-not-allowed | The caller's address isn't on the allowed list. |
| 404 | message-not-found | No message with that id for this organization. |
| 429 | rate-limited | Too many requests for this key in the last minute. |
| 502 | app-unavailable | The app didn't respond. Safe to retry. |