Contract
Copy a contract
Changed onUse this endpoint to create a copy of an existing contract.
post/contracts/{contract_id}/copy
Request
- Base URLhttps://api.oneflow.com/v1
- Authnone declared. Required headers: x-oneflow-api-token, x-oneflow-user-email
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
The email address of a registered Oneflow user.
Request body
Example request
{
"workspace_id": 380002,
"folder_id": 190002
}Response
Returns the copied contract.
Changes
- info
added the optional property
to the response with the status - info
added the required property
///to the response with the status
- info