Sign in

Create contract

documented

Create a new contract.

POST /contracts.jsonContractsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.samanage.com/contracts.json" \
  -X POST \
  -H "Accept: application/vnd.samanage.v2.1+json" \
  -H "Content-Type: application/json" \
  -H "X-Samanage-Authorization: Bearer {{SAMANAGE_API_KEY}}" \
  -d '{"name": "{{$name}}", "description": "{{$description}}", "start_date": "{{$start_date}}", "end_date": "{{$end_date}}", "vendor": {"name": "{{$vendor_name}}"}, "contract_number": "{{$contract_number}}", "status": "{{$status}}"}'