List all Contracts

GET/api/contracts

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
client_id Number optional Optional filter by client ID
status String optional Optional filter by status (draft, sent, accepted, declined)
curl -X GET "https://yoursite.com/api/contracts" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

[
  {
    "id": "1",
    "title": "Contract A",
    "client_id": "2",
    "project_id": "1",
    "contract_date": "2024-01-15",
    "valid_until": "2024-12-31",
    "status": "sent"
  }
]
MethodGET
Path/api/contracts
GroupContracts
Sincev1.0.0
Defined inRestApi/Controllers/ContractsController.php