Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Court Delta Public Subscribe API
version: 1.0.0
description: 'Public endpoints for looking up North Carolina court cases and traffic citations, subscribing to case alerts, and exporting hearing calendars. Coverage is North Carolina only; case data is sourced live from the NC eCourts (Tyler) portal. Informational, not legal advice. No authentication is required: there is no API key, OAuth flow, or authorization server. See https://app.courtdelta.com/auth.md.'
contact:
name: Court Delta
url: https://app.courtdelta.com/contact
license:
name: Terms of Use
url: https://app.courtdelta.com/terms
servers:
- url: https://app.courtdelta.com
security: []
tags:
- name: Subscribe
paths:
/api/subscribe:
post:
summary: Subscribe to case-activity alerts
description: Starts monitoring a case for the given person; sends email (and optional SMS) when the case has new activity. With requireConfirmation=true the signup is created PENDING and only a confirmation email is sent — no monitoring begins, and no attorney lead is created, until the emailed link is confirmed via /api/subscribe/confirm.
operationId: subscribe
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- email
- caseNumber
properties:
name:
type: string
minLength: 2
email:
type: string
format: email
caseNumber:
type: string
phone:
type: string
description: Optional 10-digit US phone for SMS alerts.
requireConfirmation:
type: boolean
default: false
description: Double opt-in. Required for any caller that cannot prove the submitter owns the email address (e.g. an AI assistant). Creates the row inactive with a single-use confirmation token, sends one confirmation email, and skips attorney lead sharing. Repeat calls while a confirmation is outstanding send nothing.
responses:
'200':
description: Subscribed, or (requireConfirmation) status='pending_confirmation'
'400':
description: Validation error
'403':
description: Free plan limit of 2 active cases per email
'409':
description: Already monitoring this case
tags:
- Subscribe
/api/subscribe/confirm:
post:
summary: Confirm a pending case-alert signup
description: 'Exchanges the single-use token from the confirmation email for an active subscription. Idempotent: a token that has already been used returns success with alreadyConfirmed=true rather than an error, because mail clients and users both re-open links.'
operationId: confirmSubscription
parameters:
- name: token
in: query
required: true
schema:
type: string
description: Single-use confirmation token from the email.
responses:
'200':
description: Confirmed (or already confirmed)
'400':
description: Missing token
tags:
- Subscribe
components:
securitySchemes:
SessionCookie:
type: apiKey
in: cookie
name: attorney_session
description: Browser session cookie issued after signing in with a one-time code emailed to a registered attorney or admin address. NOT obtainable programmatically — there is no password, bearer token, or API-key equivalent.