Allo

Obtenir une entreprise

La réponse inclut custom attributes , les valeurs de vos attributs d'entreprise indexées par clé d'attribut. Toujours présent, s'il n'y en a aucune. Les…

GET/v2/api/crm/companies/{id}

Attributs personnalisés

La réponse inclut custom_attributes, les valeurs de vos attributs d'entreprise indexées par clé d'attribut. Toujours présent, {} s'il n'y en a aucune. Les attributs archivés et les attributs sans valeur sont omis. Les valeurs NUMBER sont des décimaux (180 est renvoyé sous la forme 180.0), les valeurs DATE sont au format YYYY-MM-DD et les valeurs DROPDOWN sont la clé de l'option. Pour les définir, voir Créer une entreprise et Mettre à jour une entreprise.

{
  "data": {
    "id": "com-xyz789",
    "name": "Acme Corp",
    "custom_attributes": {
      "ping_pong_level": "advanced",
      "renewal_date": "2026-12-01"
    }
  }
}

Autorisation

Authorizationstring · headerrequis

Api-Key ak_live_…

Paramètres de chemin

idstringrequis

Company ID (e.g., "com-xyz789")

Réponses

200Company details
dataobject

A company in the CRM

11 champs
idstring

Unique company identifier

namestring

Company name

websitestring | null

Company website URL

industrystring | null

Industry sector

numbersstring[]

Phone numbers of the company, in E.164 format

person_countinteger

Number of people linked to this company

interactionsinteger

Total number of interactions across all people in this company

last_activity_atstring<date-time> | null

Timestamp of the last activity

created_atstring<date-time>

When the company was created

updated_atstring<date-time>

When the company was last updated

custom_attributesobject

Values of the company's custom attributes, keyed by attribute key. Always present, {} when there are none. Archived attributes and empty values are omitted. NUMBER values are decimals (180 is returned as 180.0), DATE values are YYYY-MM-DD and DROPDOWN values are the option key. Create the attributes first with POST /v2/api/crm/companies/attributes.

401
404
429