propose_write
creative

Proposes turning an exported file into a social post for the store's connected accounts (Instagram, Facebook, TikTok, Pi

Changed on

Proposes turning an exported file into a social post for the store's connected accounts (Instagram, Facebook, TikTok, Pinterest, LinkedIn, X or YouTube). Returns an approval card: a person approves it in Magistry, and only then is the post created, in their name, as proposed — published once approved under Social, or by the store's own auto-publish setting when that is on; the reply states which. The file and the accounts are checked now, so those refusals come back at once; the policy and quality checks run when the person approves, under their name. Asking again for a file that already has an open post returns that post instead of a card.

post/api/v1/tools/propose_design_post

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescreative:write

Headers

Idempotency-Key, string

Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.

Request body

object required
render_id, string required

The export id of a finished file.

caption, string

The post text.

platforms, string[] required

Where to post.

youtube, object

Only when the platforms include youtube: the video's own YouTube title, description, tags and privacy. Left out, the title is the caption's first line and the privacy the channel's default.

override_reason, string

A note for the person approving the card: why this post should go out. Shown on the card.

idempotency_key, string required

Required. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision