PeumeAPI

Social publishing & inbox

List accounts

Returns connected accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/list-accounts \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "order": "asc",
    "includeOverLimit": false,
    "excludeHidden": false,
    "adAccountRows": false,
    "includeCreatorAccounts": false,
    "includeSandbox": false
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: list-accounts.

Parameters

platformstring

Filter accounts by platform (e.g. "instagram", "twitter").

statusstring

Filter 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.

connected · disconnected

searchstring

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.

categorystring

Only 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 and Salesforce, analytics = Google Analytics, Search Console, Stripe, Tag Manager and Axon, social = every other platform.

social · ads · communication · blogs · crm · analytics

sortstring

Sort 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.

account · platform · profile · status · connected

orderstring

Direction for `sort`.

asc · desc

Example: asc

includeOverLimitboolean

When true, includes accounts from over-limit profiles.

Example: false

excludeHiddenboolean

When true, leaves out accounts the dashboard does not show as connections: - posting accounts with `enabled: false` (ads accounts are always kept, whatever their `enabled` value); - the internal `sms` and `phone` accounts 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.

Example: false

platformsstring

Comma-separated platforms (up to 50) to list together, the several-platform form of `platform`. Applied before pagination.

adAccountRowsboolean

When 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.

Example: false

includeCreatorAccountsboolean

When 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.

Example: false

includeSandboxboolean

When 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.

Example: false

includeStatusCountsboolean

When 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.

Example: false

pageinteger

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).

limitinteger

Page size. With page, an offset page; alone or with cursor, a cursor page.

cursorstring

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.

profileIdsstring

Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.

perProfileinteger

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.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.