Skip to main content
Get an Affinity company by ID, with the field values you ask for.
Tool ID: affinity_v2_companies_company_id_get

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe affinity_v2_companies_company_id_get --json for the latest machine-readable contract.

Input reference

Returns basic information and non-list-specific field data on the requested Company. To retrieve field data, you must use either the fieldIds or the fieldTypes parameter to specify the Fields for which you want data returned. These Field IDs and Types can be found using the GET /v2/companies/fields endpoint. When no fieldIds or fieldTypes are provided, Companies will be returned without any field data attached. To supply multiple fieldIds or fieldTypes parameters, generate a query string that looks like this: ?fieldIds=field-1234&fieldIds=affinity-data-location or ?fieldTypes=enriched&fieldTypes=global.

Output reference

This output schema is too large for an inline display. Read the complete live contract with deepline describe affinity_v2_companies_company_id_get --json.

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.