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