Create post
Create a post directly without using the generation pipeline.
Use this when you generate content externally (e.g. with your own AI agent) and want to push it in for scheduling and publishing.
Send an Idempotency-Key header to make a retry safe: if your request times out and you resend it with the same key, you get the original post back instead of a duplicate — so a network blip never double-posts.
Errors: 400 missing_field: status is SCHEDULED but scheduled_publish_time was not given. 400 invalid_request: scheduled_publish_time is not in the future. 400 invalid_value: The business_id is not a valid UUID. 401 authentication_required: API key or token is missing, invalid, or revoked. 403 permission_denied: Your plan does not include API access, or this business is not in your org. 404 resource_not_found: No business with that ID exists. 409 MEDIA_RECENTLY_USED: (Marky's assistant only) a library photo in media_ids is already on another recent post. API-key callers get a media_recently_used warning instead. 422 IDEMPOTENCY_KEY_CONFLICT: The Idempotency-Key was reused with a different body. 429 rate_limit_exceeded: You sent too many requests this minute.
Request
- Base URL: https://api.mymarky.ai
- URL: https://api.mymarky.ai/api/businesses/{business_id}/posts
- Auth: HTTP bearer
Path parameters
A UUID identifier.
Headers
Optional. Send a unique value (e.g. a UUID) to make this create request safe to retry. A repeat with the same key returns the original response instead of creating a duplicate. Cached for 24h, scoped to your org. Reusing a key with a different body returns 422.
Opt into a dated API version. Omit to stay on the floor (2026-04-08) forever — unpinned clients never break. Pin to a newer date (e.g. 2026-08-06) to receive the newest response shapes. Unknown values fall back to the floor. See https://docs.mymarky.ai for the versioning model.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.