Skip to content
Navigation

Open a redlining session on a Word document

Opens an editing session on a .docx file so you can rewrite it with tracked changes.

{ "ttl": 86400 }

ttl is seconds until the session expires, from 60 to 604800 (one week); it defaults to the redlining service's own default. Nothing is stored back into your corpus until you call flush.

Only a Word document can be redlined. Everything else answers 422.

Learn more: Redlining

POST
https://api.cloudraker.com/v1/spaces/{spaceId}/files/{ref}/redline
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

  • ref
    string
    required
    minLength: 1
  • spaceId
    string
    required

Request body JSON required

  • ttl
    optional
    integer
    maximum: 604800 · minimum: 60

Returns

201

The open session.

JSON
  • object
    string
    required
  • id
    string
    required
  • fileId
    string
    required
  • expiresAt
    string
    required
  • revision
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

404

Unknown file.

422

The file is not a Word document.

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

Type to search…

↑↓ navigate↵ selectEsc close