# Get company previous name.

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /companies/{company-registration-number}/previous-name:
    get:
      summary: Get company previous name.
      deprecated: false
      description: >-
        Retrieve historical names of a company, including the dates when name
        changes occurred. This endpoint is useful for tracking company identity
        over time, verifying historical records, or conducting compliance
        checks.
      operationId: getCompanyPreviousNames
      tags:
        - DataGardener API/Companies
        - Companies
      parameters:
        - name: company-registration-number
          in: path
          description: ''
          required: true
          example: '12559329'
          schema:
            type: string
        - name: x-api-key
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: Success|OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  alphaName:
                    type: string
                  previousName:
                    type: string
                  registrationNumber:
                    type: string
                  changedDate:
                    type: string
                required:
                  - alphaName
                  - previousName
                  - registrationNumber
                  - changedDate
                x-apidog-orders:
                  - alphaName
                  - previousName
                  - registrationNumber
                  - changedDate
              example:
                alphaName: string
                previousName: string
                registrationNumber: string
                changedDate: string
          headers: {}
          x-apidog-name: OK
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                type: string
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: string
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: Company not Found!!!
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Record Not Found
        '500':
          description: Internal Server Error!!!
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Server Error
      security: []
      x-apidog-folder: DataGardener API/Companies
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1064573/apis/api-21303223-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.datagardener.com
    description: Generated server url
security: []

```
