Skip to main content

Endpoint

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:

Path Parameters

Query Parameters

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Negotiation File Object Fields

Error Responses

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.

404 Not Found

Returned when the task doesn’t exist, you don’t have access to it, or no negotiation version is available.

422 Validation Error

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

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