# getGazetteNotice

**Identifier:** `gazette_getGazetteNotice`

**Provider:** [The Gazette (UK)](https://kirha.com/providers/gazette.md)

Full text of a notice in The Gazette (UK): for insolvency, the court and case number, company number, nature of business, registered office, the appointed administrators or liquidators with their IP numbers, and key dates. Takes a notice id from searchUkInsolvencyNotices.

## Run it with the CLI

```bash
kirha tools run gazette_getGazetteNotice \
  --input '{
    "noticeId": "5233377 or L-58635-471825"
  }'
```

`--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": "gazette_getGazetteNotice",
  "input": {
    "noticeId": "5233377 or L-58635-471825"
  }
}'
```

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": {
    "noticeId": {
      "description": "Gazette notice id, e.g., 5233377 or L-58635-471825",
      "pattern": "^[A-Za-z0-9-]+$",
      "type": "string"
    }
  },
  "required": [
    "noticeId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "companyName": {
      "type": "string"
    },
    "companyNumber": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "courtCase": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "noticeCode": {
      "type": "string"
    },
    "noticeId": {
      "type": "string"
    },
    "noticeType": {
      "type": "string"
    },
    "publishedOn": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "found",
    "noticeId",
    "url"
  ],
  "type": "object"
}
```

## Related tools

Other The Gazette (UK) tools that this tool refers to, or that refer to it.

- [`searchUkInsolvencyNotices`](https://kirha.com/providers/gazette/searchUkInsolvencyNotices.md)

-----

[All The Gazette (UK) tools](https://kirha.com/providers/gazette.md) · [< Back to tools list](https://kirha.com/tools.md)