List accounts
Returns connected accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Query parameters
OptionalFilter accounts by profile ID. Must be a valid ObjectId.
Filter accounts by platform (e.g. "instagram", "twitter").
connected | disconnectedFilter accounts by connection status. connected returns healthy accounts; disconnected returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
Case-insensitive match on the account username, display name or platform user id. A 24-character hexadecimal value is read as an account id and matches only that exact account. Combine with page/limit to paginate the matches.
social | ads | communication | blogs | crm | analyticsOnly accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit, Microsoft), communication = WhatsApp, Telegram, Discord, Slack, iMessage, LINE and WeChat, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
account | platform | profile | status | connectedSort an offset-paginated listing (page and limit) by account name, platform, profile name, status (accounts needing a reconnect first when ascending) or connection date. Ties keep the default order: platform, then newest first.
ascOne of asc | descDirection for sort.
falseWhen true, includes accounts from over-limit profiles.
falseWhen true, leaves out accounts the dashboard does not show as connections:
- posting accounts with
enabled: false(ads accounts are always kept, whatever theirenabledvalue); - the internal
smsandphoneaccounts behind each phone number.
Applied before pagination, so page totals and statusCounts count only the remaining accounts. Sandbox accounts added by includeSandbox are appended after this filter. Accepts true or false in any letter case; any other value returns 400.
Comma-separated platforms (up to 50) to list together, the several-platform form of platform. Applied before pagination.
falseWhen true, lists every ads account row, one per ad account. By default an API key or OAuth app sees each ads login once per profile and platform, as the single ads connection it had before rows per ad account: its oldest row.
Only changes the result once ads are connected as one row per ad account; until then the two shapes are the same. Applied before pagination. Accepts true or false in any letter case; any other value returns 400.
falseWhen true, also lists the accounts creators connected to your creator campaigns. They sit on creator profiles, which GET /v1/profiles does not list, and are left out by default.
Asking for one creator profile by profileId lists its accounts either way. Applied before pagination. Accepts true or false in any letter case; any other value returns 400.
falseWhen true, appends the shared WhatsApp sandbox account and the iMessage sandbox account to the list when they are active, honouring platform but no other filter.
Ignored on a paginated request (page, limit or cursor) and together with perProfile. Accepts true or false in any letter case; any other value returns 400.
falseWhen true, the response carries statusCounts: how many accounts match every other
filter of the request (with status lifted) in total and how many of those need a
reconnection. Accepts true or false in any letter case; any other value returns 400.
Page number (1-based) for offset paging. Requires limit; omit page, limit and cursor for an unpaged listing (at most 500 accounts for an API key or OAuth app).
Page size. With page, an offset page; alone or with cursor, a cursor page.
Opaque cursor from a previous response's pagination.nextCursor; returns the next page of limit accounts (500 when limit is omitted). A cursor we cannot parse returns 400. Cannot be combined with page.
Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries profileTotals.
Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page, limit or cursor.
Responses
Success· the request worked
Errors· the request failed
How it behaves
Pagination
Server-side pagination is optional. When omitted, the dashboard gets every account, while an API key or OAuth app gets at most 500: the first cursor page, ordered by account id.
When that cap cuts the list, the response carries warning and pagination.nextCursor, plus the X-Result-Truncated: true and X-Result-Limit: 500 headers. Pass nextCursor back as cursor (with limit) to list the rest.
- Cursor paging: send
limitalone for the first page, then passpagination.nextCursorback ascursoruntil it is null. Pages are ordered by account id, so accounts added or removed between calls never shift a page. Cannot be combined withpage,sortorperProfile. - Offset paging: send
pageandlimittogether. Out-of-range page/limit values are rejected with 400 rather than silently clamped.
Delete profile
Permanently deletes a profile. Active connected accounts block deletion (returns 400) - disconnect them first. Any remaining disconnected accounts and provisioned WhatsApp numbers are moved to another of your profiles (a new one is created only if needed), never deleted.
List partner businesses of the Page
The business portfolios (Meta Business Managers) that may act on the Facebook Page behind this account, plus the Page's owning portfolio and linked Instagram professional account. Works on Facebook accounts and on Instagram accounts connected through Facebook Login.