Skip to content
Navigation

Get inspect document by ID

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

GET
https://api.cloudraker.com/v1/signing/inspect/document/{id}
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required

Returns

200

Authorized signing resource.

JSON
  • pageCount
    integer
    required

    Pages in the document.

    maximum: 9007199254740991 · minimum: -9007199254740991
  • pages
    array of
    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
      number
      required

      Page width in points.

    • height
      number
      required

      Page height in points.

  • fields
    array of
    object
    required

    Every placeholder marker found in the document, in no particular order. A document with no markers returns an empty array.

    • kind
      signature
      or
      initials
      or
      date
      required

      The marker this came from: [Signature N], [Initials N] or [Date N], or their short forms.

    • slot
      integer
      required

      The N in the marker. signers[0] signs slot 1, signers[1] slot 2, matched by position.

      maximum: 9007199254740991 · minimum: -9007199254740991
    • page
      integer
      required

      The page holding the marker, counting from 1.

      maximum: 9007199254740991 · minimum: -9007199254740991
    • marker
      object
      required

      The marker itself: how it is written, and where that text sits in the document.

      • x
        number
        required

        Distance from the left page edge, 0 to 1.

      • y
        number
        required

        Distance from the top page edge, 0 to 1.

      • width
        number
        required

        Fraction of the page width, 0 to 1.

      • height
        number
        required

        Fraction of the page height, 0 to 1.

      • 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.

    • box
      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 the following:

      • object
        • x
          number
          required

          Distance from the left page edge, 0 to 1.

        • y
          number
          required

          Distance from the top page edge, 0 to 1.

        • width
          number
          required

          Fraction of the page width, 0 to 1.

        • height
          number
          required

          Fraction of the page height, 0 to 1.

      • null
    • status
      ok
      or
      shrunk
      or
      overlaps_text
      or
      overlaps_field
      or
      off_page
      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.
    • 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.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

401

The request could not complete.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

403

The request could not complete.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

404

The request could not complete.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

409

The request could not complete.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

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.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

503

The request could not complete.
JSON
  • code
    string
    required
  • message
    string
    required
  • retryable
    boolean
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close