Not Your Lawyer
NYL AI Assistant
Ask me anything
Ask anything about PI law, case strategy, or practice management.
Suggested
AI responses are for informational purposes only, not legal advice.
⌘/ to toggle · Enter to send · Shift+Enter for newline
Developer API
Integrate your tools with Not Your Lawyer using our REST API. Manage cases, contacts, documents, treatments, and tasks programmatically. Subscribe to real-time webhook events for instant notifications.
Plan requirement: API access is available on Professional ($1499/mo) and Enterprise ($3500/mo) plans. View plans
Authorization: Bearer nyl_live_...
API keys are scoped to specific permissions and can be revoked at any time. The raw key is shown only once on creation — store it securely.X-RateLimit-Limit — Maximum requests per minute
- X-RateLimit-Remaining — Requests remaining in the current window
- X-RateLimit-Reset — Unix timestamp when the window resets
When the limit is exceeded, the API returns 429 Too Many Requests.X-NYL-Signature header — an HMAC-SHA256 signature of the request body using your shared secret. Always verify this signature before processing events.
Subscriptions are automatically deactivated after 10 consecutive delivery failures.# List your cases
curl -H "Authorization: Bearer nyl_live_YOUR_KEY" \
https://notyourlawyer.ai/api/cases
# Create a case
curl -X POST -H "Authorization: Bearer nyl_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"clientName":"Jane Doe","clientPhone":"555-0100","accidentDate":"2026-01-15","accidentType":"MVA"}' \
https://notyourlawyer.ai/api/cases/api/openapi.json](/api/openapi.json). Import it into Postman, Insomnia, or any OpenAPI-compatible tool to explore endpoints and generate client SDKs.cases:readcases:writecontacts:readcontacts:writedocuments:readdocuments:writetreatments:readtreatments:writetasks:readtasks:writecourt-events:readintake:writecase.createdcase.updatedcase.stage_changedcontact.createdcontact.updateddocument.uploadedintake.receivedtask.createdtask.completed/api/casesList cases/api/casesCreate a case/api/cases/{id}Get case details/api/cases/{id}Update a case/api/contactsList contacts/api/contactsCreate a contact/api/contacts/{id}Get contact details/api/contacts/{id}Update a contact/api/cases/{id}/documentsList case documents/api/cases/{id}/treatmentsList case treatments/api/cases/{id}/treatmentsAdd a treatment/api/tasksList tasks/api/tasksCreate a task/api/cases/{id}/court-eventsList court events/api/intakeSubmit an intakeNeed help integrating? Contact support