Skip to content

Run your first API call in three minutes

A fast, beginner-friendly path from zero setup to a real calculation result.

Non-technical evaluators, Business stakeholders, Product teams3 min readUpdated 2/14/2026

Run your first API call in three minutes

If your team is deciding whether to test, this is the shortest path:

Step 1) Open the guided tester

Go to API Docs, then open API playground.

Step 2) Use this payload

curl -X POST "https://liendeadline.com/api/v1/calculate-deadline" \
  -H "Content-Type: application/json" \
  -d '{
    "state": "CA",
    "invoice_date": "2026-01-10",
    "project_type": "commercial",
    "role": "contractor"
  }'

Use CA or another supported state you plan to test first.

Step 3) Read the result in plain business terms

You should return:

  • A notice date to act on (preliminary_notice_deadline)
  • A final lien rights date (lien_deadline)
  • Remaining day counts to each date

If day counts are positive, you still have runway to schedule notices or escalate risk. If day counts are zero or negative, this invoice should move to immediate review.

What success means after this call

You now know:

  • whether API responses are meaningful for your team
  • how many states to include in your pilot
  • what a practical follow-up task should look like for real implementation

In-app copy shortcut

You can test the exact same flow in /api/test-api with prefilled payloads and save time during stakeholder demos.

Ready for a live walkthrough?

Use the guided API sandbox with realistic contractor/owner scenarios and test preconfigured payloads in under 5 minutes.