POST /api/v1/accounts/{id}/webhook-subscription
Subscribe the account to Meta webhooks (Instagram: INSTAGRAM_WEBHOOK_FIELDS, default comments and the messaging fields; Facebook Page: FACEBOOK_WEBHOOK_FIELDS, default feed and the Messenger fields) so comment.received and message.* can be delivered. Messaging fields are left out when the account has not granted the messaging permission
BearerAuthAuthorizationBearer <token>API key sk_...
id*stringAccount id
{accountId, platform, subscribed}
application/json- response
accountId?stringplatform?stringsubscribed?array<string>curl -X POST 'https://example.com/api/v1/accounts/string/webhook-subscription'{ "accountId": "string", "platform": "string", "subscribed": [ "string" ]}GET /api/v1/accounts/{id}/mentions GET
Media the Instagram account is tagged in (GET /{ig-id}/tags). With Instagram Login, @mentions in comments arrive through the comments webhook field (comment.received)
GET /api/v1/accounts/{id}/posts GET
The account's most recent posts as they exist on the platform (published through Postgale or not), with postgalePostId when Postgale published them. Where supported (else 400 not_supported)