Skip to main content
The Get Account endpoint retrieves the complete profile for a single identified company account. You can look up an account using its Knock2 account ID or by passing a company domain directly as the path parameter — making it easy to integrate without first running a List Accounts query. The response includes full firmographic details, CRM sync fields, and a summary of the account’s visit activity on your website.

Endpoint


Required Scope

Your API key must have the accounts:read scope (or the broader all:read scope) to call this endpoint.

Path Parameters

string
required
The unique identifier of the account to retrieve. Accepts either:
  • A Knock2 account ID (e.g. acc_01HX...), or
  • A company domain (e.g. acme.com) for a domain-based lookup.
When you pass a domain, Knock2 returns the account associated with that domain, if one has been identified.

Request Parameters

string
Read a direct child tenant’s account instead of your own (multi-tenant partners only). The X-Knock-Tenant header takes precedence if both are supplied. See Reading a Child Tenant’s Data.
string
Same as product_slug above, as a header instead of a query param. Naming a slug that isn’t a direct child of your key returns 404, never 403.

Example Requests


Response

Returns 200 OK with a data object containing the full account record.
Example response

Response Fields

object
required
The full account record.

Error Responses

401 Unauthorized
404 Not Found
422 Validation Error
429 Rate limit exceeded