Skip to main content
POST
Generate ICD codes

Authorizations

Authorization
string
header
required

Your API key, created in RxNote under Settings → API: Authorization: Bearer rxn_live_….

Headers

Idempotency-Key
string
required

Your unique id for this request. Retrying with the same key returns the same job.

Required string length: 1 - 255
Example:

"letter-appt-0001"

Path Parameters

id
integer
required
Example:

90211

Body

application/json
clinician_email
string<email>

Required with an organization key: the RxNote member acting. With a personal key, omit it or send the owner's own email.

Maximum string length: 255
Example:

"doctor@clinic.example"

Response

The job already created with this Idempotency-Key.

Work that runs after the request answers. Poll GET /jobs/{id} until completed or failed.

id
string
required
Example:

"job_4Rt8Vb1Np3Zs7Hc2kQ9xLm"

kind
enum<string>
required
Available options:
note,
icd_codes
visit_id
integer
required
status
enum<string>
required
Available options:
queued,
running,
completed,
failed
created_at
string<date-time>
required
completed_at
string<date-time> | null
required
error
object | null
required
note
object | null

For a note job, once completed.

icd_codes
object | null

For an icd_codes job, once completed.