Skip to main content
GET
Read a legal document as this application's customer is shown it

Authorizations

X-Application-Token
string
header
required

Application-specific token for public URL access. Generated when a customer is created. Provides access to a single application without requiring an API key. Token is valid for 30 days and rate-limited to 250 requests per hour.

Path Parameters

application_id
string
required

The unique identifier for the application KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

document_key
string
required

Document identifier, e.g. cards_tos.

Query Parameters

version
string

A specific published revision. Omit for the revision in force now. A past revision is rendered with the client's values as they are now, not as they were when it was accepted.

Response

The document as this customer is shown it.

One revision of a legal document as one application's customer is shown it: the published text with the client's values filled in.

key
string
required

Stable identifier for the document across all its revisions.

Example:

"cards_tos"

version
string
required

The published revision identifier. Pass it back as legal_document_version or disclosure_version when accepting.

Example:

"2026-07-23"

revision
integer
required

Monotonic ordinal within key; a higher number is a later revision.

Example:

4

content_type
string
required

Media type of content.

Example:

"text/markdown"

content
string
required

The document text, in content_type format, with the client's values in place of the placeholders it has values for.

content_sha256
string
required

Lowercase hexadecimal SHA-256 of content. Send it back with the attestation.

Example:

"3a7bd3e2360a3d29eea436fcfb7e44c735d117c42d1c1835420b6b9942dd4f1b"

title
string
Example:

"Spend Card Terms"

effective_date
string

The date printed inside the document, to show alongside the text. Absent when it could not be established.

Example:

"2026-07-23"