# Get manual page

Read one page of Brigg's user manual as Markdown, with its breadcrumbs, child pages and public URL. The manual is the same for every workspace; no workspace data is read.

POST https://api.brigg.app/v1/operations/manual.GetManualPage

## Access & visibility

Allow `manual.GetManualPage` on your API key.

**Workspace access by default.** Private member data requires [approved member delegation](https://developer.brigg.app/authentication#member-delegation) through `Brigg-Act-As`; the key supplies permissions while private ownership and project boundaries remain enforced.

[Set up authentication](https://developer.brigg.app/authentication) · [Choose permissions](https://developer.brigg.app/permissions)

## Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The page id from ListManualPages or SearchManual, e.g. `apps/customer-service/email`. At least 1 character. At most 200 characters. |
| `locale` | string | No | Manual language: no (Norwegian), sv (Swedish), da (Danish) or en (English). Allowed: `"no"`, `"sv"`, `"da"`, `"en"`. |

## Response

Returns **200 OK** with a JSON body.
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The page id that was asked for. |
| `locale` | string | Yes | The manual language this answer is in. |
| `title` | string | Yes | The page's heading, in the answer's language. |
| `summary` | string | Yes | One line saying what the page covers. |
| `url` | string | Yes | The page's public URL. |
| `breadcrumbs` | array of [object](#response-breadcrumbs) | Yes | The page's ancestors, outermost first. |
| `children` | array of [object](#response-children) | Yes | The pages directly under this one, in reading order. |
| `markdown` | string | Yes | The page body, with page links and screenshots made absolute. |

### response.breadcrumbs[]

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The ancestor page's id. |
| `title` | string | Yes | The ancestor page's heading. |
| `url` | string | Yes | The ancestor page's public URL. |

### response.children[]

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The page id manual.GetManualPage takes. |
| `parent` | string or null | Yes | The parent page's id, or null for a top-level page. |
| `title` | string | Yes | The page's heading, in the answer's language. |
| `summary` | string | Yes | One line saying what the page covers. |
| `url` | string | Yes | The page's public URL. |

## Errors & retries

This operation reads data. It needs no idempotency key and can be retried after a transient failure.

For rate limits, follow the server’s retry guidance and back off. See [HTTP errors](https://developer.brigg.app/http#errors) and [safe retries and limits](https://developer.brigg.app/reliability).

| HTTP status | Code | What to do |
| --- | --- | --- |
| 400 | `invalid_json` | Send a JSON object with Content-Type: application/json. |
| 400 | `invalid_input` | Check the request fields and types. |
| 401 | `invalid_key` | The workspace API key is missing, invalid or revoked. |
| 403 | `forbidden` | Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member. |
| 404 | `not_found` | No manual page has this ID. Read the IDs with manual.ListManualPages. |
| 429 | `rate_limited` | Wait for Retry-After before retrying. |

## Next steps

[Download OpenAPI](https://developer.brigg.app/openapi.json) · [Versioning & retirement](https://developer.brigg.app/versioning)

## Examples

### Example request

Fictional values. Replace IDs and business details with values from your workspace.
#### cURL


```sh
curl 'https://api.brigg.app/v1/operations/manual.GetManualPage' \
  -H "Authorization: Bearer $BRIGG_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "id": "apps/customers",
  "locale": "en"
}'
```

#### TypeScript


```typescript
const response = await fetch("https://api.brigg.app/v1/operations/manual.GetManualPage", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.BRIGG_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "id": "apps/customers",
    "locale": "en"
  }),
});
const result = await response.json();
if (!response.ok) throw new Error(`${response.status}: ${result.error} — ${result.message}`);
console.log(result);
```

#### Python


```python
import json
import os
from urllib.request import Request, urlopen
from urllib.error import HTTPError

payload = {
  "id": "apps/customers",
  "locale": "en"
}
request = Request(
    "https://api.brigg.app/v1/operations/manual.GetManualPage",
    data=json.dumps(payload).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {os.environ['BRIGG_API_KEY']}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urlopen(request) as response:
        print(json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))
    raise
```

#### Response example


```json
{
  "id": "apps/customers",
  "locale": "en",
  "title": "Customers",
  "summary": "Companies, people and deals in one place.",
  "url": "https://brigg.com/help/apps/customers",
  "breadcrumbs": [],
  "children": [],
  "markdown": "# Customers\n\nCompanies, people and deals in one place."
}
```

## JSON schemas


```json-schema-request
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The page id from ListManualPages or SearchManual, e.g. `apps/customer-service/email`."
    },
    "locale": {
      "type": "string",
      "enum": [
        "no",
        "sv",
        "da",
        "en"
      ],
      "description": "Manual language: no (Norwegian), sv (Swedish), da (Danish) or en (English)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "id": "apps/customers",
      "locale": "en"
    }
  ]
}
```


```json-schema-response
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The page id that was asked for."
    },
    "locale": {
      "type": "string",
      "description": "The manual language this answer is in."
    },
    "title": {
      "type": "string",
      "description": "The page's heading, in the answer's language."
    },
    "summary": {
      "type": "string",
      "description": "One line saying what the page covers."
    },
    "url": {
      "type": "string",
      "description": "The page's public URL."
    },
    "breadcrumbs": {
      "type": "array",
      "description": "The page's ancestors, outermost first.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ancestor page's id."
          },
          "title": {
            "type": "string",
            "description": "The ancestor page's heading."
          },
          "url": {
            "type": "string",
            "description": "The ancestor page's public URL."
          }
        },
        "required": [
          "id",
          "title",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "children": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The page id manual.GetManualPage takes."
          },
          "parent": {
            "type": [
              "string",
              "null"
            ],
            "description": "The parent page's id, or null for a top-level page."
          },
          "title": {
            "type": "string",
            "description": "The page's heading, in the answer's language."
          },
          "summary": {
            "type": "string",
            "description": "One line saying what the page covers."
          },
          "url": {
            "type": "string",
            "description": "The page's public URL."
          }
        },
        "required": [
          "id",
          "parent",
          "title",
          "summary",
          "url"
        ],
        "additionalProperties": false
      },
      "description": "The pages directly under this one, in reading order."
    },
    "markdown": {
      "type": "string",
      "description": "The page body, with page links and screenshots made absolute."
    }
  },
  "required": [
    "id",
    "locale",
    "title",
    "summary",
    "url",
    "breadcrumbs",
    "children",
    "markdown"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "id": "apps/customers",
      "locale": "en",
      "title": "Customers",
      "summary": "Companies, people and deals in one place.",
      "url": "https://brigg.com/help/apps/customers",
      "breadcrumbs": [],
      "children": [],
      "markdown": "# Customers\n\nCompanies, people and deals in one place."
    }
  ]
}
```

