Get Contract by ID
GET/api/contracts/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
curl -X GET "https://yoursite.com/api/contracts/123" \
-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"
}