Skip to main content
POST
/
v1
/
jobs
Create a new demand letter job
curl --request POST \
  --url https://demands-api.tavrn.ai/v1/jobs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "patientName": "<string>",
  "injuryDate": "2023-12-25",
  "additionalInformation": "<string>"
}
'
{
  "packageId": "<string>",
  "status": "created"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
patientName
string
required

The name of the patient, e.g., 'John Doe'

injuryDate
string<date>
required

Date of the injury, e.g., '09-15-2023'. Needs to be in the format 'MM-DD-YYYY'.

additionalInformation
string

Any additional information to include in the demand letter. If none, pass an empty string.

Response

Job created successfully

packageId
string
status
string
Example:

"created"