Skip to main content

Endpoint

Authentication

This endpoint requires an OAuth access token. Send it as a bearer token:
Required scope: tasks:read

Path Parameters

Query Parameters

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Negotiation File Object Fields

Error Responses

400 Bad Request

Returned when the access token has no user behind it. client_credentials tokens act as the admin who created the application, so this applies only to tokens issued before application creators were recorded.

401 Unauthorized

Returned when the access token is missing, unknown, revoked, or expired, or when an X-API-Key was sent instead of a bearer token. See OAuth error responses.

403 Forbidden

Returned when the token lacks the required scope:
Or when the user may not access this task:

404 Not Found

Returned when the task or step run does not exist, or no negotiation version is available.

422 Validation Error

Returned when the request parameters are invalid (e.g., step_run_id is missing).

429 Too Many Requests

Returned when your organization exceeds its per-minute request limit.

500 Internal Server Error

Returned when the request fails due to a server error.

Notes

A negotiation step can carry more than one document. This endpoint returns the most recent version of each negotiation file on the step, keyed by its file_uuid thread.
Use file_uuid to track a document across negotiation rounds. When you upload the next version with Upload Negotiation Version, pass the same file_uuid to add to the existing thread.
The presigned download URLs expire after a certain time (indicated by expires_at). Download the files before the URLs expire or request them again.

Use Cases

This endpoint is useful for:
  • Negotiation tracking - Monitor the current state of every document under negotiation on a step
  • Document retrieval - Download the latest version of each negotiated document
  • Turn detection - Use uploading_party and our_party_changes to determine which side made the most recent changes
  • Integration - Sync negotiation progress with external contract management systems