v1
latestOpenAPI 3.0.02026-07-24115101.2 MBContract
Copy a contract
Use this endpoint to create a copy of an existing contract.
post/contracts/{contract_id}/copy
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.