Skip to main content
POST
/
api
/
v2
/
account
/
batch
Get Accounts V2
curl --request POST \
  --url https://api.openfunnel.dev/api/v2/account/batch \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --header 'X-User-ID: <x-user-id>' \
  --data '
{
  "account_ids": [
    123
  ],
  "account_domains": [
    "<string>"
  ]
}
'
{
  "accounts": [
    {
      "id": 123,
      "name": "<string>",
      "is_present_in_crm": true,
      "imported_account": true,
      "account_discovered_at": "<string>",
      "signal_count": 123,
      "website": "<string>",
      "linkedin_url": "<string>",
      "crm_status": "<string>",
      "narrative_and_key_signals": "<string>",
      "technographics": [
        "<string>"
      ],
      "crm_details": {
        "connected_crm": "<string>",
        "crm_account_id": "<string>",
        "crm_owner_id": "<string>",
        "crm_owner_email": "<string>",
        "crm_lifecyclestage": "<string>",
        "crm_latest_opportunity": {},
        "crm_all_opportunities": [
          {}
        ],
        "crm_last_synced_date": "<string>",
        "crm_custom_tracked_fields": {}
      },
      "traits": {
        "description": "<string>"
      },
      "firmographics": {
        "employee_count": 123,
        "funding_stage": "<string>",
        "location": "<string>",
        "hq_city": "<string>",
        "hq_region": "<string>",
        "hq_country": "<string>",
        "industry": "<string>"
      },
      "hiring": {},
      "socials": {},
      "linkedin_engagement": {},
      "job_changes": {},
      "icp_people": [
        {
          "person_id": 123,
          "person_name": "<string>",
          "person_role": "<string>",
          "person_email": "<string>",
          "person_location": "<string>",
          "person_linkedin_url": "<string>",
          "joined_company_at": "<string>",
          "person_crm_status": "<string>",
          "person_salesforce_contact_id": "<string>",
          "person_salesforce_owner_id": "<string>",
          "person_team_name": "<string>",
          "context": "<string>",
          "score": 123
        }
      ]
    }
  ],
  "total_count": 123
}

Headers

X-API-Key
string
required
X-User-ID
string
required

Body

application/json
account_ids
integer[] | null

List of account IDs to get details for. Either account_ids or account_domains is required.

account_domains
string[] | null

List of account domains to get details for. Either account_ids or account_domains is required.

Response

Successful Response

accounts
GetAccountV2Response · object[]
required
total_count
integer
required