v1
latestOpenAPI 3.0.02026-07-24115101.2 MBGet contracts
Use this endpoint to retrieve the list of contracts.
Query parameters
A comma-separated list of columns by which results are sorted. Valid columns:
- name
- state
- state_updated_time
- published_time
Filter contracts by whether the contract lifecycle has been canceled or not.
Filter contracts where the sign or decline timestamp is within the specified datetime range.
Filter contracts where the created timestamp is within the specified datetime range.
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.
Filter contracts where the email of one of the participants matches the given value.
Filter contracts with folders that are in the specified comma-separated list of folder IDs.
Retrieve specific contracts by providing a comma-separated list of contract IDs. Note: Other filters still apply if specified.
Filter contracts where the lifecycle start timestamp is within the specified datetime range.
Filter contracts where the lifecycle state is one of the specified states in a comma-separated list. See lifecycle-state for allowed values.
Filter contracts where the custom_id of one of the participants matches the given value.
Filter contracts where the identification_number of one of the participants matches the given value.
Filter contracts where the publish timestamp is within the specified datetime range.
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
Filter contracts where the contract state is one of the specified states in a comma-separated list. See state for allowed values.
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).
Filter contracts where the contract was last updated within the specified datetime range.
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.
Filter contracts with tags that are in the specified comma-separated list of tag IDs.
Filter contracts with templates that are in the specified comma-separated list of template IDs.
Filter contracts with playbooks that are in the specified comma-separated list of playbook IDs.
Filter contracts with blueprints that are in the specified comma-separated list of blueprint IDs.
Headers
The API key of your Oneflow account.
The email address of a registered Oneflow user.
Response
Returns the list of all contracts in the specified account.