Summary

Base URL and Authentication

  • Base path: api/v1/cases

  • Auth: all endpoints in this document require x-api-key

  • Header format:

    • x-api-key: <api-key>

  • Notes:

    • This API does not use Authorization: Bearer.

    • Invalid or missing API key returns 401 Unauthorized (plain text from middleware).


Endpoint Summary

Method
Path
Purpose

GET

/api/v1/cases

List cases (with filtering + pagination)

GET

/api/v1/cases/:uuid

Get a specific case by UUID

POST

/api/v1/cases

Create a new case

PUT

/api/v1/cases/:uuid

Update an existing case

DELETE

/api/v1/cases/:uuid

Delete a case and related records

Last updated