Stop sharing a post's preview
Every preview link of the post stops working at once. sharedUntil becomes null.
apiKeyAuthorizationBearer <token>An API key from the web app, under Developers. It starts with rz_live_.
id*stringOK
application/json- response
id*stringprofileId*stringstatus*stringpartially_published: some targets went out and others failed; each target has its own status.
"draft""scheduled""published""partially_published""failed"text*stringmedia*array<>targets*array<>scheduledAt*|nullpublishedAt*|nullcreatedBy*||createdAt*stringdate-timeupdatedAt*stringdate-timefields*metrics*|nulldeletedAt*|Deleted posts are kept: restore them within 30 days.
sharedUntil*|When its preview links stop working, while it is shared (Share a preview of a post). Null when it is not.
curl -X POST 'https://api.rizamo.com/v1/posts/string/unshare'{ "id": "string", "profileId": "string", "status": "draft", "text": "string", "media": [ { "id": "string", "type": "image", "url": "string", "alt": "string", "status": "uploading", "contentType": "string", "size": -9007199254740991, "width": -9007199254740991, "height": -9007199254740991, "duration": 0 } ], "targets": [ { "accountId": "string", "network": "instagram", "format": "feed", "text": "string", "media": [ { "id": "string", "type": "image", "url": "string", "alt": "string", "status": "uploading", "contentType": "string", "size": -9007199254740991, "width": -9007199254740991, "height": -9007199254740991, "duration": 0 } ], "options": { "instagram": { "shareToFeed": true, "coverUrl": "http://example.com", "collaborators": [ "string" ], "locationId": "string", "fit": "fill" }, "facebook": { "link": "http://example.com" }, "tiktok": { "disableComments": true, "disableDuet": true, "disableStitch": true, "isBrandedContent": true, "isYourBrand": true, "isAiGenerated": true }, "linkedin": { "documentTitle": "string" }, "youtube": { "title": "string", "privacy": "public", "madeForKids": true, "tags": [ "string" ] }, "pinterest": { "boardId": "string", "title": "string", "link": "http://example.com" } }, "firstComment": "string", "changes": [ { "mediaId": "string", "kinds": [ "format" ], "message": "string" } ], "status": "pending", "url": "string", "error": "string", "removal": "removed" } ], "scheduledAt": "2019-08-24T14:15:22Z", "publishedAt": "2019-08-24T14:15:22Z", "createdBy": { "type": "agent", "agent": "claude", "name": "string", "agentId": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "fields": { "property1": "string", "property2": "string" }, "metrics": { "impressions": -9007199254740991, "reach": -9007199254740991, "engagements": -9007199254740991, "likes": -9007199254740991, "comments": -9007199254740991, "shares": -9007199254740991, "saves": -9007199254740991, "clicks": -9007199254740991 }, "deletedAt": "2019-08-24T14:15:22Z", "sharedUntil": "2019-08-24T14:15:22Z"}Share a preview of a post POST
Returns a page anyone with the link can open without signing in: the post as it will look on each of its accounts, and nothing else about it. The link works for 30 days. Sharing again makes a new link and gives every link of the post that still works 30 more days. Stopping the share or deleting the post turns them all off.
Ask a person for files POST
Returns a page to give a person. They add images or videos there, no sign-in needed, and send them. Follow `status` with `Get an upload request`; its `media` are ready to use on a post. The page works for 24 hours.