Check a post without creating it
Takes what Create a post takes and creates nothing. problems are what would stop it now; warnings are what would stop it from being scheduled or published later, such as Instagram without an image or a video. Each target says what Rizamo would do to its files.
apiKeyAuthorizationBearer <token>An API key from the web app, under Developers. It starts with rz_live_.
application/json- body
profileId*stringtext*stringlength <= 5000targets*array<>Where the post goes. Each target is one account and format: one Instagram account can take a reel and a story of the same post.
1 <= itemsmediaIds?array<string>[]scheduledAt?|nullfields?{}status?string"draft""draft""scheduled"OK
application/json- response
ok*booleanTrue when there are no problems: creating it would work.
problems*array<>warnings*array<>targets*array<>curl -X POST 'https://api.rizamo.com/v1/posts/validate' \ -H 'Content-Type: application/json' \ -d '{ "profileId": "string", "text": "string", "targets": [ { "accountId": "string" } ]}'{ "ok": true, "problems": [ { "accountId": "string", "message": "string" } ], "warnings": [ { "accountId": "string", "message": "string" } ], "targets": [ { "accountId": "string", "network": "instagram", "format": "feed", "changes": [ { "mediaId": "string", "kinds": [ "format" ], "message": "string" } ] } ]}Delete a post DELETE
The post is kept, marked deleted, and can be restored for 30 days. Live targets are removed from their networks where they allow it: each target's `removal` says what happened. Deleting it again retries the ones that failed.
Publish a post now POST
Every target that is not live goes out now, failed ones included. A draft or scheduled post becomes scheduled for now; follow each target's `status` until it is `published` or `failed`. Targets whose result is `unknown` are left alone: check the network first.