[GET] - Company Ids

  • Updated

Use the Company Id endpoint to fetch old company IDs associated with a single company. You can choose to retrieve all or a single company ID.


GET https://api.insideview.com/api/v1/companyIds/{id}


HTTP Headers

Header Name Type Required Description
accessToken String Yes Valid access token.
See Authentication and Authorization Overview for more details.
Accept String No Selects the response's content type.  
Valid values are application/json and application/xml (default).  


URI Parameters

Parameter Name Type Required Description
companyId Integer Yes Company Id to fetch Merged company IDs


HTTP 200

Returns either a JSON or XML data structure depending on the request Accept header. 

Name type Description
companyId Integer Company InsideView ID
currentCompanyId Integer Current Company ID
mergedcompanyIds List of Integer Merged company IDs 

Type: application/json


  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "/",
  "type": "object",
  "properties": {
    "mergedCompanyIds": {
      "id": "mergedCompanyIds",
      "type": "array",
      "items": {
        "id": "0",
        "type": "integer"
      "uniqueItems": true
    "companyId": {


  "currentCompanyId": 13457,
  "mergedCompanyIds": [
  "companyId": 1755

Type: application/xml


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="company" type="companyDTO"/>
    <xs:complexType name="companyDTO">
            <xs:element name="mergedCompanyIds" minOccurs="0">
                        <xs:element name="mergedCompanyId" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="companyId" type="xs:int" minOccurs="0"/>
            <xs:element name="currentCompanyId" type="xs:int" minOccurs="0"/>


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

HTTP 400

Invalid query parameter(s).

HTTP 401

Unauthorized Error - Cannot use API's without setting a valid accessToken in header.

HTTP 405

Method Not Allowed - HTTP method other than POST is not allowed.

HTTP 404

Invalid ID, record not found.

HTTP 429

Request is throttled.


Was this article helpful?

0 out of 0 found this helpful