Get contracts

Use this endpoint to retrieve the list of contracts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
0 to 19900
Defaults to 0
integer
1 to 100
Defaults to 100
string

A comma-separated list of columns by which results are sorted. Valid columns:

  • name
  • state
  • state_updated_time
  • published_time
string
enum

Filter contracts by whether the contract lifecycle has been canceled or not.

Allowed:
string
length ≤ 60

Filter contracts where the sign or decline timestamp is within the specified datetime range.

string
length ≤ 60

Filter contracts where the created timestamp is within the specified datetime range.

string
length ≤ 600

Filter contracts where the given data field has a given value. The format for this parameter is filter[data_field_match]=<data-field-custom-id>:<value> Dont forget to URL escape the value as it can be any Unicode string. The value can't be the empty string.

string

Filter contracts where the email of one of the participants matches the given value.

string
length ≤ 100

Filter contracts with folders that are in the specified comma-separated list of folder IDs.

string
length ≤ 200

Retrieve specific contracts by providing a comma-separated list of contract IDs. Note: Other filters still apply if specified.

string
length ≤ 60

Filter contracts where the lifecycle start timestamp is within the specified datetime range.

string
length ≤ 100

Filter contracts where the lifecycle state is one of the specified states in a comma-separated list. See lifecycle-state for allowed values.

string
length ≤ 100

Filter contracts where the custom_id of one of the participants matches the given value.

string
length ≤ 100

Filter contracts where the identification_number of one of the participants matches the given value.

string
length ≤ 60

Filter contracts where the publish timestamp is within the specified datetime range.

string
length ≤ 300

Free text search in the following fields:

  • participant fullname
  • participant title
  • participant ssn
  • participant phone number
  • participant email
  • party org number
  • party phone number
  • data field value
  • tag name
  • contract name
string
length ≤ 100

Filter contracts where the contract state is one of the specified states in a comma-separated list. See state for allowed values.

string
length ≤ 60

Filter contracts where the next upcoming event is within the specified datetime range. Here, an event refers to the signing period expiration or a lifecycle event (start, end, renewal).

string
length ≤ 60

Filter contracts where the contract was last updated within the specified datetime range.

string
length ≤ 100

Filter contracts from workspaces that are in the specified comma-separated list of workspace IDs. Filter contracts from workspaces that are in the specified comma-separated list of workspace IDs. To retrieve contracts from the "Shared with Me" workspace, use the workspace ID as 0.

string
length ≤ 100

Filter contracts with tags that are in the specified comma-separated list of tag IDs.

Headers
string
required
length between 40 and 40

The API key of your Oneflow account.

string

The email address of a registered Oneflow user.

Responses

400

Invalid format or content of the request.

401

The API token or the user email is invalid.

Language
URL
LoadingLoading…
Response
Choose an example:
application/json