GET /v2/companies/{id}
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.
Requires the "Export All Organizations directory" permission.
Servers
- https//api.affinity.co
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
Integer | Yes |
Company ID |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
fieldIds[] |
Array | No |
Field IDs for which to return field data |
fieldTypes[] |
Array | No |
Field Types for which to return field data |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.