List Instagram posts to boost
Changed onLists posts from the Instagram account a Meta ad connection can reach, so you can boost one as an ad.
An existing Instagram post can be boosted this way without connecting the Instagram account separately. Each posts[].id is the existing-post id to send as platformPostId when creating the ad; Meta turns it into source_instagram_media_id on the creative.
Identity resolution reuses the same resolver as /v1/ads/instagram-accounts. igUserId is always checked against the identities the connection can reach and is never trusted as sent.
When no identity is reachable
The endpoint fails instead of returning an empty list, and the two causes stay apart:
- 403 reconnect_required: the connection predates Instagram access, and the account must be reconnected granting Instagram access. Meta then omits instagram_business_account from the Page read rather than erroring, so it looks identical to having no data.
- 422 instagram_business_account_unresolved: the Page genuinely has no Instagram professional account linked.
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Zernio Meta Ads, Facebook or Instagram SocialAccount ID.
Meta ad account ID including the act_ prefix. Narrows identity resolution to the Instagram accounts reachable from this ad account.
Instagram identity to list. Must be one this connection can reach, otherwise the request is rejected with a 400.
Number of posts to return per page.
Opaque Meta cursor from a previous response's paging.after.
Response
Instagram posts available to boost.
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status
- warning