SLA Due API

Calculate business-hour SLA timestamps and business-day deadlines without rebuilding calendar, holiday, timezone, and working-hours logic in every product.

Copy/Paste Examples

Friday afternoon support ticket

A ticket opens Friday at 3:45 PM with a four business-hour response SLA.

curl -sS -X POST https://sla-due-api.linkridge.net/v1/business-days/calculate \
  -H 'content-type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{
  "operation": "sla_due_at",
  "calendar": "us-federal",
  "timezone": "America/Chicago",
  "start_at": "2026-08-07T15:45:00",
  "minutes": 240
}'

Returns 2026-08-10T11:45:00-05:00

Holiday-week legal/admin deadline

A request lands before Thanksgiving and needs eight business hours of handling time.

curl -sS -X POST https://sla-due-api.linkridge.net/v1/business-days/calculate \
  -H 'content-type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{
  "operation": "sla_due_at",
  "calendar": "us-federal",
  "timezone": "America/Chicago",
  "start_at": "2026-11-25T15:00:00",
  "minutes": 480
}'

Returns 2026-11-27T15:00:00-06:00

Logistics cutoff

An order exception arrives late in the day and needs ninety working minutes before cutoff.

curl -sS -X POST https://sla-due-api.linkridge.net/v1/business-days/calculate \
  -H 'content-type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{
  "operation": "sla_due_at",
  "calendar": "us-federal",
  "timezone": "America/Chicago",
  "start_at": "2026-09-18T16:15:00",
  "minutes": 90
}'

Returns 2026-09-21T09:45:00-05:00