Analytics · Watchlist
Removes a post from the swipe file. Works with Instagram and YouTube accounts.
DELETE
https://api.pozy.ai/v1/watchlist/posts/{postId}/saveInstagram and YouTubeunsaveWatchlistPost
Request
Send your API key as Authorization: Bearer pz_live_.... Read-only keys cannot call it. Keys with the analytics resource group disabled get 403 resource_group_disabled. Authentication
Path parameters
| Name | Type | Notes |
|---|---|---|
postIdrequired | string |
Example
curl -X DELETE "https://api.pozy.ai/v1/watchlist/posts/6108a2cc742cb4e991051e0c/save" \
-H "Authorization: Bearer $POZY_API_KEY"const res = await fetch("https://api.pozy.ai/v1/watchlist/posts/6108a2cc742cb4e991051e0c/save", {
method: "DELETE",
headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const text = await res.text();
const data = text ? JSON.parse(text) : null;
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);import os
import requests
resp = requests.delete(
"https://api.pozy.ai/v1/watchlist/posts/6108a2cc742cb4e991051e0c/save",
headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
print(resp.json())Response
200 on success
postobjectrequired22 child fields
idstringrequiredplatformstringrequiredOne of
instagram,youtube.externalIdstringaccountobject5 child fields
idstringhandlestringdisplayNamestringCan be null.
followersintegerCan be null.
listobjectCan be null.
2 child fields
idstringnamestring
permalinkstringCan be null.
formatstringrequiredOne of
reel,carousel,image,video,short.hookstringCan be null.
captionstringCan be null.
thumbnailUrlstringCan be null.
mediaUrlstringCan be null.
durationSecintegerCan be null.
postedAtstring (date-time)requiredviewsintegerCan be null.
likesintegerCan be null.
commentsintegerCan be null.
engagementintegerengagementRatenumberCan be null.
outlierScorenumberCan be null.
outlierBasisstringOne of
views,engagement. Can be null.statsUpdatedAtstring (date-time)savedbooleanreplicatedobjectCan be null.
3 child fields
pozyPostIdstringCan be null.
ruleIdstringCan be null.
atstring (date-time)
200 response
{
"post": {
"id": "6bfebd43ddc270f6d2c56fc5",
"platform": "instagram",
"externalId": "62c9d6bdf3fa891362623a67",
"account": {
"id": "6bfebd43ddc270f6d2c56fc5",
"handle": "acme",
"displayName": "Acme",
"followers": 1,
"list": {
"id": "6bfebd43ddc270f6d2c56fc5",
"name": "Acme"
}
},
"permalink": "string",
"format": "reel",
"hook": "string",
"caption": "Hello from Pozy",
"thumbnailUrl": "https://pozy.ai/media/example-1.jpg",
"mediaUrl": "https://pozy.ai/media/example-1.jpg",
"durationSec": 1,
"postedAt": "2026-10-02T09:00:00.000Z",
"views": 1,
"likes": 1,
"comments": 1,
"engagement": 1,
"engagementRate": 12.5,
"outlierScore": 12.5,
"outlierBasis": "views",
"statsUpdatedAt": "2026-10-02T09:00:00.000Z",
"saved": true,
"replicated": {
"pozyPostId": "65c07fe18b8de4a270f358ad",
"ruleId": "6cd4059483de62b474d02fe7",
"at": "2026-10-02T09:00:00.000Z"
}
}
}Errors
Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:
| 400 | invalid_request_error | A parameter or body field is missing or invalid. param names it. |
| 401 | authentication_error | The API key is missing, revoked or expired. |
| 403 | permission_error | The key is read-only, scoped to other profiles, or has this resource group disabled. |
| 404 | not_found | Nothing with that id exists in your workspace. |
| 429 | rate_limit_error | Too many requests this minute. Wait for Retry-After seconds. |
Every code is listed in Errors.
More in Watchlist
GETList watchlist listsPOSTCreate a watchlist listPATCHRename a watchlist listDELDelete a watchlist list (its accounts stay watched)GETList watched accountsPOSTWatch a public accountGETGet a watched account with its statsPATCHMove a watched account to another listDELStop watching an accountPOSTUpdate a watched account now (once an hour)GETList and rank posts from watched accountsGETGet a watched post with its Make my version briefPUTSave a post to the swipe filePOSTRecord that you made your version of a postDELClear the version record of a postGETList daily watchlist rulesPOSTCreate a daily rule that saves adapted draftsPATCHUpdate a daily watchlist ruleDELDelete a daily watchlist rulePOSTRun a watchlist rule now (or preview it)