WillWake API Reference

Click "Authorize", enter your API key, then select "Organization" to get started with the API.

Version: 1.0

Authentication

This API uses API Key authentication. Include your API key in the request header:

X-API-Key: your-api-key-here

Endpoints

/cases/{caseId}

getGet case details

Returns case information by ID

Responses:

200 - Case details
404 - Case not found

/cases/active

getGet active case

Returns the currently active case for the organization

Responses:

200 - Active case or null
postSet active case

Set the active case for the organization

Responses:

200 - Active case set successfully

/cases/detect

postDetect case from content

Attempts to detect which case content relates to based on case numbers, names, etc.

Responses:

200 - Detected case information

/cases/emails

postSave email to a case

Saves an email as a note to a case, optionally extracting deadlines

Responses:

200 - Email saved successfully

/cases/search

getSearch cases

Search cases by name or case number

Responses:

200 - List of matching cases

/cases/web-content

postSave web content to a case

Saves web page content as a note or evidence to a case

Responses:

200 - Content saved successfully

/conflicts/check

postCheck for conflicts

Check if names conflict with existing cases or contacts

Responses:

200 - Conflict check results

/deadlines/upcoming

getGet upcoming deadlines

Returns upcoming deadlines from case tasks

Responses:

200 - List of upcoming deadlines

/organization

getGet organization details

Returns the organization associated with the API key.

Responses:

200 - Organization details retrieved successfully.
401 - Unauthorized. API key is missing or invalid.
404 - Organization not found.

/research/extract-citations

postExtract legal citations from content

Extracts case citations, statute citations, etc. from text

Responses:

200 - List of extracted citations

/tasks

postCreate a task

Create a new task for a case

Responses:

200 - Task created successfully

/time-entries

postCreate a time entry

Create a new time entry for billing

Responses:

200 - Time entry created successfully