Skip to main content
GET
/
api
/
late
/
accounts
List all Late-connected social accounts
curl --request GET \
  --url https://app.puffle.ai/api/late/accounts \
  --header 'Authorization: Bearer <token>'
{
  "accounts": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "late_account_id": "<string>",
      "platform": "<string>",
      "platform_username": "<string>",
      "platform_display_name": "<string>",
      "platform_profile_picture": "<string>",
      "platform_id": "<string>",
      "account_type": "personal",
      "profile_url": "<string>",
      "last_sync_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Overview

Fetches every account from every Late profile owned by the caller, upserts each into our social_accounts table (keyed by late_account_id), then returns the full local state. Use this to reconcile the local store after an OAuth connect. For lightweight picker data (username, display name, avatar), prefer listSocialAccounts — this endpoint is heavier because it round-trips to Late before returning.

AI agent notes

When to call:
  • Right after lateOauthCallback completes, to refresh local account state
  • As a periodic reconciliation (e.g., daily) to catch account metadata drift (profile pic renames, etc.)
Not for UI pickers — use listSocialAccounts for that. This endpoint returns the full database row, which includes internal fields the UI doesn’t need.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Accounts synced from Late and returned.

accounts
object[]
required