Body
Required
files
object | array | boolean | integer | number | string Required Files
-
filesRequired
boolean | null Required Files required
Default value is
false
. -
instructions
string | null Instructions
-
name
string Required Name
-
status
string | null Required Status
Values are
draft
,active
, orarchived
. Default value isdraft
.
POST
/agreements.json
curl \
--request POST 'http://api.example.com/v1/agreements.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"files":{},"filesRequired":false,"instructions":"string","name":"string","status":"draft"}'
Request examples
{
"files": {},
"filesRequired": false,
"instructions": "string",
"name": "string",
"status": "draft"
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"files": {},
"filesRequired": false,
"id": 42,
"instructions": "string",
"name": "string",
"status": "draft",
"updatedAt": "2025-05-04T09:42:00Z"
}