Skip to content
Navigation

Post documents by ID generate-rich

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

POST
https://api.cloudraker.com/v1/signing/documents/{id}/generate-rich
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required

Request body JSON required

  • kind
    rich
    or
    compose
    or
    docx
    required
  • version
    optional
    integer
    maximum: 9007199254740991 · minimum: 0
  • markdown
    optional
    string
    maxLength: 50000
  • templateId
    optional
    string
    maxLength: 200 · minLength: 1
  • styleProfileId
    optional
    string
    maxLength: 200 · minLength: 1
  • rendererOptions
    optional
    object
    • title
      optional
      string
      maxLength: 300
    • author
      optional
      string
      maxLength: 300
    • subject
      optional
      string
      maxLength: 1000
    • pageSize
      optional
      a4
      or
      us-letter
      or
      a5
      or
      us-legal
    • fontSize
      optional
      string
      pattern: ^\d{1,3}(\.\d{1,3})?(pt|mm|cm|in)$
    • margins
      optional
      object
      • otherPages
        optional
        object
        • top
          optional
          string
          pattern: ^\d{1,3}(\.\d{1,3})?(pt|mm|cm|in)$
        • right
          optional
          string
          pattern: ^\d{1,3}(\.\d{1,3})?(pt|mm|cm|in)$
        • bottom
          optional
          string
          pattern: ^\d{1,3}(\.\d{1,3})?(pt|mm|cm|in)$
        • left
          optional
          string
          pattern: ^\d{1,3}(\.\d{1,3})?(pt|mm|cm|in)$
      • firstPage
        optional
        object
        • top
          optional
          string
          pattern: ^\d{1,3}(\.\d{1,3})?(pt|mm|cm|in)$
    • header
      optional
      object
      • text
        optional
        string
        maxLength: 200
      • firstPage
        optional
        string
        maxLength: 200
      • lastPage
        optional
        string
        maxLength: 200
      • position
        optional
        left
        or
        center
        or
        right
    • pageNumbers
      optional
      object
      • firstPage
        optional
        boolean
      • lastPage
        optional
        boolean
      • format
        optional
        string
        maxLength: 60
      • style
        optional
        1
        or
        i
        or
        I
        or
        a
        or
        A
      • position
        optional
        left
        or
        center
        or
        right
    • colors
      optional
      object
      • text
        optional
        string
        pattern: ^#[0-9a-fA-F]{6}$
      • codeBackground
        optional
        string
        or null
        pattern: ^#[0-9a-fA-F]{6}$
      • tableHeaderBackground
        optional
        string
        or null
        pattern: ^#[0-9a-fA-F]{6}$
      • tableHeaderText
        optional
        string
        or null
        pattern: ^#[0-9a-fA-F]{6}$
      • tableBorder
        optional
        string
        or null
        pattern: ^#[0-9a-fA-F]{6}$
      • tableStripe
        optional
        string
        or null
        pattern: ^#[0-9a-fA-F]{6}$
    • fonts
      optional
      object
      • body
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
      • h1
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
      • h2
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
      • h3
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
      • h4
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
      • tableHeader
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
      • code
        optional
        string
        pattern: ^[A-Za-z0-9 ]{2,60}$
  • preview
    optional
    boolean
  • values
    optional
    map of
    unknown
    default: {}
  • schema
    optional
    map of
    unknown

Returns

200

Authorized signing resource.

JSON
  • id
    string
    required
  • title
    string
    required
  • teamId
    string | null
    required
  • ownerId
    string
    required
  • privacy
    team
    or
    participants
    required
  • status
    draft
    or
    waiting
    or
    completed
    or
    cancelled
    or
    declined
    or
    expired
    +1 more
    required
  • message
    string
    required
  • placement
    page
    or
    tags
    or
    fields
    required
  • stages
    array of
    object
    required
    • id
      string
      required
    • mode
      all
      or
      any
      required
    • recipients
      array of
      object
      required
      • id
        string
        required
      • name
        string
        required
      • email
        string
        required
      • status
        pending
        or
        awaiting_consent
        or
        signed
        or
        approved
        or
        declined
        or
        skipped
        required
      • locked
        optional
        boolean

        True when the template of this document sets this recipient. Only the template can change or remove a locked recipient.

      • phoneLocked
        optional
        boolean

        True when the template also sets the phone number of a locked recipient. When false, the sender can add or change the phone number.

      • delegationId
        optional
        string
      • signedAt
        optional
        string
      • typedName
        optional
        string
      • viewedAt
        optional
        string
      • approvedAt
        optional
        string
      • declinedAt
        optional
        string
      • declineReason
        optional
        string
      • nextReminderAt
        optional
        string
      • lastInvitedAt
        optional
        string
      • deliveryError
        optional
        string
      • version
        optional
        integer
        maximum: 9007199254740991 · minimum: -9007199254740991
    • role
      optional
      signer
      or
      approver
    • delayHours
      optional
      number
    • condition
      optional
      map of
      __schema0
    • skipped
      optional
      boolean
  • fields
    array of
    object
    required
    • id
      string
      required
      maxLength: 100 · minLength: 1
    • kind
      signature
      or
      initials
      or
      date
      or
      text
      or
      checkbox
      or
      dropdown
      +3 more
      required
    • slot
      integer
      required
      maximum: 50 · minimum: 1
    • page
      integer
      required
      maximum: 1000 · minimum: 1
    • x
      number
      required
      maximum: 1 · minimum: 0
    • y
      number
      required
      maximum: 1 · minimum: 0
    • width
      number
      required
      maximum: 1
    • height
      number
      required
      maximum: 1
    • label
      optional
      string
      maxLength: 200
    • required
      optional
      boolean
    • options
      optional
      array of
      string
      maxLength: 200 · minLength: 1
    • maxLength
      optional
      integer
      maximum: 5000 · minimum: 1
    • defaultValue
      optional

      Any of the following:

      • string
      • boolean
    • attachmentId
      optional
      string
      maxLength: 100
    • localPage
      optional
      integer
      maximum: 9007199254740991
    • fontSize
      optional
      number

      The text size in points, from 6 to 72. Applies to fields that print text. When absent, the text is 12 points or less, to fit the field height. A value that does not fit the field shrinks to fit.

      maximum: 72 · minimum: 6
  • createdAt
    string
    required
  • updatedAt
    string
    required
  • version
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991
  • activity
    array of
    object
    required
    • id
      string
      required
    • at
      string
      required
    • text
      string
      required
  • source
    optional
    app
    or
    api
    or
    paperwork
  • integrationId
    optional
    string
  • integrationName
    optional
    string
  • signingMode
    optional
    manual
    or
    delegated
  • delegation
    optional

    Any of the following:

    • object
      • templateId
        string
        required
      • templateVersion
        integer
        required
        maximum: 9007199254740991 · minimum: -9007199254740991
    • null
  • templateOrigin
    optional
    object
    • templateId
      string
      required
    • templateVersion
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • templateName
      string
      required
  • attachments
    optional
    array of
    object
    • id
      string
      required
    • fileId
      string
      required
    • name
      string
      required
    • mimeType
      string
      required
    • pageCount
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • startPage
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • sha256
      optional
      string
    • renditionSha256
      optional
      string
  • pageCount
    optional
    integer
    maximum: 9007199254740991 · minimum: -9007199254740991
  • pages
    optional
    array of
    object
    • width
      number
      required
    • height
      number
      required
  • preparationReviewed
    optional
    boolean
  • contentNeedsRender
    optional
    boolean
  • cc
    optional
    array of
    object
    • name
      string
      required
    • email
      string
      required
  • language
    optional
    en
    or
    fr
  • expiresInDays
    optional
    number
  • expiresAt
    optional
    string
  • reminders
    optional
    object
    • enabled
      boolean
      required
    • firstAfterDays
      number
      required
    • repeatEveryDays
      number
      required
    • expiresBeforeDays
      optional
      integer
      maximum: 30 · minimum: 1
  • allowReassignment
    optional
    boolean
  • notifications
    optional
    object

    Who gets the progress emails of this document.

    • sender
      optional

      Any of the following:

      • object
        • email
          string
          required
        • language
          optional
          en
          or
          fr
      • null
  • branding
    optional

    Any of the following:

    • object
      • name
        string
        required
      • accentColor
        string
        required
      • logoDataUrl
        optional
        string
    • null
  • variables
    optional
    map of
    __schema0
  • brandingId
    optional
    string | null
  • purpose
    optional
    string
  • generation
    optional
    map of
    __schema0
  • extraction
    optional
    map of
    __schema0
  • postSign
    optional
    map of
    __schema0
  • fileName
    optional
    string
  • fileId
    optional
    string
  • generatedText
    optional
    string
  • runId
    optional
    string
  • error
    optional
    string
  • sending
    optional
    boolean

    A send is underway or was interrupted. Edits answer 409 until it ends; POST /send again to finish it.

  • errorCode
    optional
    concurrent_envelope_limit

    Set on a failed document when the plan limit of open signing requests stopped the send.

  • limit
    optional
    integer

    With errorCode: the open signing request limit of the plan.

    maximum: 9007199254740991 · minimum: -9007199254740991
  • sentAt
    optional
    string
  • completedAt
    optional
    string

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