v1

latestOpenAPI 3.0.02026-07-24115101.2 MB
Contract - Parties and Participants

Create a party

Use this endpoint to create a counterparty in a contract.

post/contracts/{contract_id}/parties

Path parameters

contract_idinteger required

The unique ID of the contract.

Headers

x-oneflow-api-tokenstring required

The API key of your Oneflow account.

x-oneflow-user-emailstring email required
Example:john.doe@oneflow.com

The email address of a registered Oneflow user.

Request body

OR

Example request

{
  "name": "Company AB",
  "participants": [
    {
      "name": "Firstname Lastname"
    }
  ]
}

Response

Returns the created party.

OR