---
title: "Get inspect document by ID"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get inspect document by ID

Path: CloudRaker RakeSign API › RakeSign

`GET /v1/signing/inspect/document/{id}`

Uses the same resource permissions and lifecycle as the RakeSign application. Integration access is limited to its shared team. Required scopes: documents:read.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `id` (`signingGetInspectDocumentById.path.id`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.cloudraker.com/v1/signing/inspect/document/<id>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/signing/inspect/document/<id>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/v1/signing/inspect/document/<id>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Authorized signing resource.

#### Example

```json
{
  "pageCount": -9007199254740991,
  "pages": [
    {
      "width": 0,
      "height": 0
    }
  ],
  "fields": [
    {
      "kind": "signature",
      "slot": -9007199254740991,
      "page": -9007199254740991,
      "marker": {
        "x": 0,
        "y": 0,
        "width": 0,
        "height": 0,
        "text": "[Signature 1]"
      },
      "box": {
        "x": 0,
        "y": 0,
        "width": 0,
        "height": 0
      },
      "status": "ok",
      "overlapsSignature": true
    }
  ]
}
```

- `pageCount` (`signingGetInspectDocumentById.response.200.pageCount`; integer, required) — Pages in the document.
  - min -9007199254740991; max 9007199254740991
- `pages` (`signingGetInspectDocumentById.response.200.pages`; array<object>, required) — Each page in order, for laying out a page you have not rendered yet. Pages in one document can differ in size.
  - `width` (`signingGetInspectDocumentById.response.200.pages.width`; number, required) — Page width in points.
  - `height` (`signingGetInspectDocumentById.response.200.pages.height`; number, required) — Page height in points.
- `fields` (`signingGetInspectDocumentById.response.200.fields`; array<object>, required) — Every placeholder marker found in the document, in no particular order. A document with no markers returns an empty array.
  - `kind` (`signingGetInspectDocumentById.response.200.fields.kind`; string, required) — The marker this came from: `[Signature N]`, `[Initials N]` or `[Date N]`, or their short forms.
    - one of `"signature"`, `"initials"`, `"date"`
  - `slot` (`signingGetInspectDocumentById.response.200.fields.slot`; integer, required) — The `N` in the marker. `signers[0]` signs slot 1, `signers[1]` slot 2, matched by position.
    - min -9007199254740991; max 9007199254740991
  - `page` (`signingGetInspectDocumentById.response.200.fields.page`; integer, required) — The page holding the marker, counting from 1.
    - min -9007199254740991; max 9007199254740991
  - `marker` (`signingGetInspectDocumentById.response.200.fields.marker`; object, required) — The marker itself: how it is written, and where that text sits in the document.
    - `x` (`signingGetInspectDocumentById.response.200.fields.marker.x`; number, required) — Distance from the left page edge, 0 to 1.
    - `y` (`signingGetInspectDocumentById.response.200.fields.marker.y`; number, required) — Distance from the top page edge, 0 to 1.
    - `width` (`signingGetInspectDocumentById.response.200.fields.marker.width`; number, required) — Fraction of the page width, 0 to 1.
    - `height` (`signingGetInspectDocumentById.response.200.fields.marker.height`; number, required) — Fraction of the page height, 0 to 1.
    - `text` (`signingGetInspectDocumentById.response.200.fields.marker.text`; string, required) — The marker exactly as it is written in the document, for example `[Signature 1]` or `[S1]`. Name this, not a short form you build yourself, when telling a sender which marker to move: it is the only spelling a search of their PDF will find.
      - example `"[Signature 1]"`
  - `box` (`signingGetInspectDocumentById.response.200.fields.box`; any of, required) — Where the output prints: the seal for a signature, the written text for initials and a date. `null` only when `status` is `off_page`.
    - any of:
      - `object`
        - `x` (`signingGetInspectDocumentById.response.200.fields.box.1.x`; number, required) — Distance from the left page edge, 0 to 1.
        - `y` (`signingGetInspectDocumentById.response.200.fields.box.1.y`; number, required) — Distance from the top page edge, 0 to 1.
        - `width` (`signingGetInspectDocumentById.response.200.fields.box.1.width`; number, required) — Fraction of the page width, 0 to 1.
        - `height` (`signingGetInspectDocumentById.response.200.fields.box.1.height`; number, required) — Fraction of the page height, 0 to 1.
      - `null`
  - `status` (`signingGetInspectDocumentById.response.200.fields.status`; string, required) — How this marker will print. - `ok`: prints at full size, clear of everything. - `shrunk`: prints smaller, either to clear nearby content or to match the other signatures in the document. - `overlaps_text`: nothing clears at any corner, so it prints at its smallest over the text beneath. The sender decides whether that is acceptable. - `overlaps_field`: it prints over another marker's output, because the two sit close enough that both claim the same space. A date is written in full, so it reaches well past its own marker. A slight clip is not reported, only an overlap taking at least a tenth of the smaller box. This is a warning. Only `overlapsSignature` stops a send. - `off_page`: no room on the page at any corner. This status stops a send.
    - one of `"ok"`, `"shrunk"`, `"overlaps_text"`, `"overlaps_field"`, `"off_page"`
  - `overlapsSignature` (`signingGetInspectDocumentById.response.200.fields.overlapsSignature`; boolean, required) — True when this signature prints over the signature of another marker. Placement has tried every size and corner for both, so no layout keeps them apart. This stops a send: move one of the two markers to its own line. Always false for initials and a date.

### 400

The request could not complete.

#### Example

```json
{
  "code": "string",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.400.code`; string, required)
- `message` (`signingGetInspectDocumentById.response.400.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.400.retryable`; boolean, required)
- `requestId` (`signingGetInspectDocumentById.response.400.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.400.docUrl`; string, optional)

### 401

The request could not complete.

#### Example

```json
{
  "code": "string",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.401.code`; string, required)
- `message` (`signingGetInspectDocumentById.response.401.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.401.retryable`; boolean, required)
- `requestId` (`signingGetInspectDocumentById.response.401.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.401.docUrl`; string, optional)

### 403

The request could not complete.

#### Example

```json
{
  "code": "string",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.403.code`; string, required)
- `message` (`signingGetInspectDocumentById.response.403.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.403.retryable`; boolean, required)
- `requestId` (`signingGetInspectDocumentById.response.403.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.403.docUrl`; string, optional)

### 404

The request could not complete.

#### Example

```json
{
  "code": "string",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.404.code`; string, required)
- `message` (`signingGetInspectDocumentById.response.404.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.404.retryable`; boolean, required)
- `requestId` (`signingGetInspectDocumentById.response.404.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.404.docUrl`; string, optional)

### 409

The request could not complete.

#### Example

```json
{
  "code": "string",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.409.code`; string, required)
- `message` (`signingGetInspectDocumentById.response.409.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.409.retryable`; boolean, required)
- `requestId` (`signingGetInspectDocumentById.response.409.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.409.docUrl`; string, optional)

### 429

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

#### Example

```json
{
  "code": "rate_limited",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`signingGetInspectDocumentById.response.429.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`signingGetInspectDocumentById.response.429.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.429.docUrl`; string, optional)

### 503

The request could not complete.

#### Example

```json
{
  "code": "string",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`signingGetInspectDocumentById.response.503.code`; string, required)
- `message` (`signingGetInspectDocumentById.response.503.message`; string, required)
- `retryable` (`signingGetInspectDocumentById.response.503.retryable`; boolean, required)
- `requestId` (`signingGetInspectDocumentById.response.503.requestId`; string, required)
- `docUrl` (`signingGetInspectDocumentById.response.503.docUrl`; string, optional)


Source: https://docs.cloudraker.com/rakesign/api/rake-sign/signing-get-inspect-document-by-id/index.md
