---
updatedAt: 2026-07-21T14:55:00.000Z
agentTools:
  projectIndex: https://docs.sikoia.com/llms.txt
---

# Request registry data

### Requests registry data for a company.

You can create a request with only the `company_id`, and the necessary data will be retrieved from the company entity. If the company entity is missing `company_number` or `country_code`, a 422 - Unprocessable error will be raised.

Alternatively, you can override the company entity details by sending `company_number`, `company_name`, and `country_code` alongside the `company_id` in the request body.  

If it is not possible to identify a single company in the relevant registry based on the data provided, the response will have a status of `TooManyResults`. You can resolve this picklist using the `POST /v2/company-registry-data/picklist endpoint`.


You can create a request with only the `company_id`, and the necessary data will be retrieved from the company entity. If the company entity is missing `company_number` or `country_code`, a 422 - Unprocessable error will be raised.

Alternatively, you can override the company entity details by sending `company_number`, `company_name`, and `country_code` alongside the `company_id` in the request body.

If it is not possible to identify a single company in the relevant registry based on the data provided, the response will have a status of `TooManyResults`. You can resolve this picklist using the POST `/v2/company-registry-data/picklist endpoint`.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Sikoia API",
    "termsOfService": "https://sikoia.com/About/Terms",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sikoia.com",
      "description": "API (Production)"
    },
    {
      "url": "https://oauth2.sikoia.com",
      "description": "Authorization Server (Production)"
    },
    {
      "url": "https://api-staging.sikoia.com",
      "description": "API (Staging)"
    },
    {
      "url": "https://oauth2-staging.sikoia.com",
      "description": "Authorization Server (Staging)"
    }
  ],
  "paths": {
    "/v2/company-registry-data": {
      "post": {
        "tags": [
          "Company Registry"
        ],
        "summary": "Request registry data",
        "description": "### Requests registry data for a company.\r\n\r\nYou can create a request with only the `company_id`, and the necessary data will be retrieved from the company entity. If the company entity is missing `company_number` or `country_code`, a 422 - Unprocessable error will be raised.\r\n\r\nAlternatively, you can override the company entity details by sending `company_number`, `company_name`, and `country_code` alongside the `company_id` in the request body.  \r\n\r\nIf it is not possible to identify a single company in the relevant registry based on the data provided, the response will have a status of `TooManyResults`. You can resolve this picklist using the `POST /v2/company-registry-data/picklist endpoint`.\r\n",
        "operationId": "POST_v2-company-registry-data",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SikoiaSharedModels.Company.External.Request.RegistryDataRequest"
              },
              "example": {
                "company_id": "78662640-73fc-4fa9-8367-ef4660d35cee",
                "company_number": "12345678",
                "company_name": "Acme Inc",
                "country_code": "GB"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Registry Data Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaSharedModels.Company.External.Response.RegistryDataResponse"
                },
                "example": {
                  "request_id": "276c102b-85d3-4e86-a69d-de1b2ba72150",
                  "status": "Complete",
                  "company_id": "78662640-73fc-4fa9-8367-ef4660d35cee",
                  "datetime_requested": "2024-02-12T13:18:28.9780000+00:00",
                  "message": "string",
                  "company_number": "12345678",
                  "company_name": "Acme Inc",
                  "country_code": "GB",
                  "picklist": "[]"
                }
              }
            }
          },
          "400": {
            "description": "Company Entity Deleted/Not Found or Country Not Recognised",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "InvalidRequest",
                  "status": 400,
                  "title": "Validation Errors",
                  "detail": "Entity Id is required.",
                  "correlation_id": "51a834d6-0abb-4cde-a84d-580810e0e41d"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "InvalidToken",
                  "status": 401,
                  "title": "Invalid Token",
                  "detail": "Invalid token",
                  "correlation_id": "511baa58-df40-4cae-ad65-8563efdc8f61"
                }
              }
            }
          },
          "403": {
            "description": "Insufficient Credits",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "InsufficientPermissions",
                  "status": 403,
                  "title": "Service not enabled",
                  "detail": "Service is not currently enabled.",
                  "correlation_id": "d718b957-6423-4d10-94b3-c7cfb3da41c4"
                }
              }
            }
          },
          "422": {
            "description": "Company Entity Missing Information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "UnprocessableRequest",
                  "status": 422,
                  "title": "Entity Missing Information",
                  "detail": "Entity with id f18a7cb9-6c8d-4b12-85ae-7486b3e9501a is missing required information, please update entity.",
                  "correlation_id": "7ece25b5-e8b2-40ac-9989-00aa3a43ac87"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "RateLimit",
                  "status": 429,
                  "title": "Too Many Requests",
                  "detail": "You've exceeded the maximum API request limit per minute. Please try again later.",
                  "correlation_id": "caaf2372-4a0e-485a-9bc9-33dda95268a9"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SikoiaCore.Common.SikoiaErrorResponse"
                },
                "example": {
                  "type": "ServerError",
                  "status": 500,
                  "title": "Internal Server Error",
                  "detail": "Something has gone wrong, please try again",
                  "correlation_id": "6512d54f-5b38-4107-b3f7-2c5a047459cc"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SikoiaCore.Common.SikoiaErrorResponse": {
        "title": "Error Response",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "See the [Response Guide](https://docs.sikoia.com/docs/api-behaviour#responses) for more detail "
      },
      "SikoiaSharedModels.Company.External.Request.RegistryDataRequest": {
        "title": "Registry Data Request",
        "required": [
          "company_id"
        ],
        "type": "object",
        "properties": {
          "company_id": {
            "minLength": 1,
            "type": "string",
            "description": "Sikoia ID for the Company",
            "example": "78662640-73fc-4fa9-8367-ef4660d35cee"
          },
          "company_number": {
            "type": "string",
            "description": "The company registration number",
            "nullable": true,
            "example": "12345678"
          },
          "company_name": {
            "type": "string",
            "description": "The legal name of the company",
            "nullable": true,
            "example": "Acme Inc"
          },
          "country_code": {
            "type": "string",
            "description": "Two letter ISO country code, e.g. GB",
            "nullable": true,
            "example": "GB"
          }
        },
        "additionalProperties": false
      },
      "SikoiaSharedModels.Company.External.Response.Mapped.CompanySearchMappedResponse": {
        "title": "Company Search Response",
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "description": "The index of the company",
            "format": "int32",
            "nullable": true,
            "example": "1"
          },
          "company_name": {
            "type": "string",
            "description": "The legal name of the company",
            "nullable": true,
            "example": "ACME INC"
          },
          "company_number": {
            "type": "string",
            "description": "The company registration number",
            "nullable": true,
            "example": "12345678"
          },
          "company_status": {
            "type": "string",
            "description": "The operational status of the company",
            "nullable": true,
            "example": "Active"
          },
          "provider_id": {
            "type": "string",
            "description": "The data provider’s ID for the company",
            "nullable": true
          },
          "date_established": {
            "type": "string",
            "description": "The date the company was established",
            "nullable": true,
            "example": "1982-01-07"
          },
          "country_code": {
            "type": "string",
            "description": "Two letter ISO country code, e.g. GB",
            "nullable": true,
            "example": "GB"
          },
          "branch_status": {
            "type": "string",
            "description": "The branch status of the company",
            "nullable": true
          },
          "official_address": {
            "$ref": "#/components/schemas/SikoiaSharedModels.Company.External.Response.Mapped.OfficialAddress"
          }
        },
        "additionalProperties": false
      },
      "SikoiaSharedModels.Company.External.Response.Mapped.OfficialAddress": {
        "title": "Official Address",
        "type": "object",
        "properties": {
          "address_line_1": {
            "type": "string",
            "description": "The First Line of Address",
            "nullable": true,
            "example": "10 Main Street"
          },
          "address_line_2": {
            "type": "string",
            "description": "The Second Line of Address",
            "nullable": true,
            "example": "Apt. 101"
          },
          "address_line_3": {
            "type": "string",
            "description": "The Third Line of Address",
            "nullable": true,
            "example": "Main House"
          },
          "address_line_4": {
            "type": "string",
            "description": "The Fourth Line of Address",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "The Name of the City",
            "nullable": true,
            "example": "Test Town"
          },
          "region": {
            "type": "string",
            "description": "The Name of the Region",
            "nullable": true,
            "example": "Test Country"
          },
          "country": {
            "type": "string",
            "description": "The Name of the Country",
            "nullable": true,
            "example": "GB"
          },
          "post_code": {
            "type": "string",
            "description": "The PostCode of the Address",
            "nullable": true,
            "example": "X9 9AA"
          },
          "full_address": {
            "type": "string",
            "description": "The Full Address",
            "nullable": true,
            "example": "123 Main Street, Main House, Apt. 101, Test County, Test Town, X9 9AA, GB"
          }
        },
        "additionalProperties": false
      },
      "SikoiaSharedModels.Company.External.Response.RegistryDataResponse": {
        "title": "Registry Data Response",
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string",
            "description": "Sikoia ID for the request",
            "format": "uuid",
            "readOnly": true,
            "example": "276c102b-85d3-4e86-a69d-de1b2ba72150"
          },
          "status": {
            "type": "string",
            "description": "The status of the request(`Complete` `Failed` `TooManyResults`)",
            "nullable": true,
            "example": "Complete"
          },
          "company_id": {
            "type": "string",
            "description": "Sikoia ID for the Company",
            "format": "uuid",
            "readOnly": true,
            "example": "78662640-73fc-4fa9-8367-ef4660d35cee"
          },
          "datetime_requested": {
            "type": "string",
            "description": "The time the request was made",
            "nullable": true,
            "readOnly": true,
            "example": "2024-02-12T13:18:28.978Z"
          },
          "message": {
            "type": "string",
            "description": "Additional detail about the request",
            "nullable": true
          },
          "company_number": {
            "type": "string",
            "description": "The company registration number",
            "nullable": true,
            "example": "12345678"
          },
          "company_name": {
            "type": "string",
            "description": "The legal name of the company",
            "nullable": true,
            "example": "Acme Inc"
          },
          "country_code": {
            "type": "string",
            "description": "Two letter ISO country code, e.g. GB",
            "nullable": true,
            "example": "GB"
          },
          "picklist": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SikoiaSharedModels.Company.External.Response.Mapped.CompanySearchMappedResponse"
            },
            "description": "If the response status is “TooManyResults”, this object will list the potential matches for the company",
            "nullable": true,
            "example": "[]"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "authorizationHeader": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "apikey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "authorizationHeader": []
    },
    {
      "apiKeyHeader": []
    }
  ]
}
```