Accounts & connections · Accounts

List accounts

Returns accounts, one page at a time.

GEThttps://api.pozy.ai/v1/accounts
listAccounts

Guides: Connecting accounts, Hosted connect pages, Account health

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Keys with the accounts resource group disabled get 403 resource_group_disabled. Authentication

Query parameters

NameTypeNotes
profileIdstring
platformstring
statusstringOne of connected, disconnected
searchstringUp to 100 characters
categorystringOne of social, ads, communication, blogs, crm, analytics
sortstringOne of account, platform, profile, status, connected
orderstringOne of asc, descDefault asc
includeOverLimitbooleanDefault false
excludeHiddenbooleanDefault false
adAccountRowsbooleanDefault false
includeCreatorAccountsbooleanDefault false
includeSandboxbooleanDefault false
includeStatusCountsbooleanDefault false
pageintegerAt least 1
limitinteger1 to 500
cursorstring
profileIdsstring
perProfileinteger1 to 24

Example

curl -X GET "https://api.pozy.ai/v1/accounts?limit=1" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • accountsarray of objectrequired
    19 child fields
    • _idstringrequired
    • platformstringrequired

      One of tiktok, instagram, facebook, youtube, linkedin, twitter, threads, pinterest, reddit, bluesky, googlebusiness, telegram, snapchat, discord, slack, whatsapp, shopify, wordpress, wix, linkedinads, metaads, pinterestads, tiktokads, xads and 15 more.

    • profileIdstring or objectrequired

      One of:

      string
      Profile (11 fields)
      • _idstring
      • userIdstring
      • namestring
      • descriptionstring
      • colorstring
      • timezonestring

        Can be null.

      • externalIdstring

        Can be null.

      • isDefaultboolean
      • isOverLimitboolean
      • accountCountinteger
      • createdAtstring (date-time)
    • usernamestring
    • displayNamestring
    • platformUserIdstring
    • scopeAreasarray of string

      Can be null.

    • oauthAppIdstring

      Can be null.

    • tiktokAccountTypestring

      One of business, personal, unknown.

    • profilePicturestring

      Can be null.

    • profileUrlstring
    • isActivebooleanrequired
    • needsReconnectionboolean
    • followersCountnumber
    • followersLastUpdatedstring (date-time)
    • parentAccountIdstring

      Can be null.

    • enabledboolean
    • rateLimitedUntilstring (date-time)

      Can be null.

    • metadataobject
  • hasAnalyticsAccessbooleanrequired
  • paginationobject

    One of:

    Pagination (4 fields)
    • pageinteger
    • limitinteger
    • totalinteger
    • pagesinteger
    Account Cursor Pagination (2 fields)
    • limitintegerrequired
    • nextCursorstringrequired

      Can be null.

  • profileTotalsmap of integer
  • statusCountsobject
    • allintegerrequired
    • disconnectedintegerrequired
200 response
{
  "accounts": [
    {
      "_id": "635d87e261ae344ef27fd1df",
      "platform": "tiktok",
      "profileId": "6a0b6573846efc28aaa9a3ff",
      "username": "acme",
      "displayName": "Acme",
      "platformUserId": "60c5beb6ca4037bb9ff5117a",
      "scopeAreas": [
        "string"
      ],
      "oauthAppId": "629a39de8c0a63af5a05067c",
      "tiktokAccountType": "business",
      "profilePicture": "string",
      "profileUrl": "https://pozy.ai/media/example-1.jpg",
      "isActive": true,
      "needsReconnection": true,
      "followersCount": 12.5,
      "followersLastUpdated": "2026-10-02T09:00:00.000Z",
      "parentAccountId": "6ce971ffa48fe63468db336b",
      "enabled": true,
      "rateLimitedUntil": "2026-10-02T09:00:00.000Z",
      "metadata": {}
    }
  ],
  "hasAnalyticsAccess": true,
  "pagination": {
    "page": 1,
    "limit": 1,
    "total": 42,
    "pages": 1
  },
  "profileTotals": {
    "key": 1
  },
  "statusCounts": {
    "all": 1,
    "disconnected": 1
  }
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Accounts