Dynamo Developer DocsDynamo Developer Docs
External APICommunityScheduled posts

Reject a post awaiting approval

Transition a post to `REJECTED`. A non-empty `notes` string is **required**.

post/scheduled-posts/{scheduledPostId}/reject

Beta

The External API is in beta. Endpoints, parameters, and response shapes may change — including breaking changes — in future releases. Pin to documented behavior before relying on it in production.

Authorization

x-api-key x-date x-signature x-api-version
x-api-key<token>

Your API key (the ApiKeys document id).

In: header

x-date<token>

Current timestamp as an IMF-fixdate string (GMT, US locale) "EEE, dd MMM yyyy HH:mm:ss z", e.g. "Sun, 06 Dec 2020 12:59:11 GMT". 30-second TTL.

In: header

x-signature<token>

HMAC-SHA256 of the x-date string keyed by your secret, lowercase hex.

In: header

x-api-version<token>

API version you're coding against — currently 1. Required; a missing or unsupported value returns 400 with Missing or unsupported x-api-version header. Supported versions: 1.

In: header

Path Parameters

scheduledPostId*string

The scheduled post id.

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

application/json

Try it

live — writes real data

Kept in this tab only and signed in your browser — your secret never leaves your device.

Path

Body

This sends a real POST to your live organization.

Enter your key and secret to send.

curl -X POST "https://example.com/scheduled-posts/AbC123XyZ/reject" \  -H "Content-Type: application/json" \  -d '{    "notes": "Caption needs the promo code before this can go out."  }'
{  "_fsDocScope": "MODEL",  "selfPath": "Organization/ORG123/scheduledPublications/AbC123XyZ",  "id": "AbC123XyZ",  "docName": "FsDocScheduledPublication",  "docVer": 1,  "created": {    "_seconds": 1781840702,    "_nanoseconds": 612000000  },  "updated": {    "_seconds": 1781840702,    "_nanoseconds": 612000000  },  "type": "POST",  "media": "https://res.cloudinary.com/demo/image/upload/sample.png",  "mediaType": "IMAGE",  "scheduledFor": "2026-12-01T12:00:00.000Z",  "mediumsData": {    "FB_PAGE_1234567890": {      "caption": "Big launch this weekend — comment FLASH for early access ⚡️",      "mediumType": "FB_PAGE"    }  },  "status": "DRAFT"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "error": [    {      "message": "string",      "path": [        "string"      ],      "type": "string",      "context": {}    }  ]}