# getUkOfficerAppointments

**Identifier:** `companieshouse_getUkOfficerAppointments`

**Provider:** [Companies House](https://kirha.com/providers/companieshouse.md)

Companies a person is or was an officer of in the UK, from Companies House, by officer id: company, role, appointment and resignation dates, company status. Use it to map a director's other directorships and spot dissolved or insolvent companies in their history.

## Run it with the CLI

```bash
kirha tools run companieshouse_getUkOfficerAppointments \
  --input '{
    "officerId": "<officerId>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "companieshouse_getUkOfficerAppointments",
  "input": {
    "officerId": "<officerId>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limit": {
      "default": 35,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "officerId": {
      "description": "Officer id from searchUkOfficers or getUkCompanyOfficers",
      "pattern": "^[A-Za-z0-9_-]{10,40}$",
      "type": "string"
    }
  },
  "required": [
    "officerId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "appointments": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "appointedOn": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "companyNumber": {
            "type": "string"
          },
          "companyStatus": {
            "type": "string"
          },
          "occupation": {
            "type": "string"
          },
          "resignedOn": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "born": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "officerId": {
      "type": "string"
    },
    "totalAppointments": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "officerId",
    "found",
    "totalAppointments",
    "appointments"
  ],
  "type": "object"
}
```

## Related tools

Other Companies House tools that this tool refers to, or that refer to it.

- [`getUkCompanyOfficers`](https://kirha.com/providers/companieshouse/getUkCompanyOfficers.md)
- [`searchUkOfficers`](https://kirha.com/providers/companieshouse/searchUkOfficers.md)

-----

[All Companies House tools](https://kirha.com/providers/companieshouse.md) · [< Back to tools list](https://kirha.com/tools.md)