- This webhook is only for standalone , where you send finished note content yourself.
-
When you ask for E/M codes on an ambient visit with
artifacts: ["EM_CODES"], Suki does not send this webhook. Instead, the Ambient webhook for that visit includesem_codesandencounter_em_codeslinks. To compare the two paths, refer to Choose ambient or standalone.
Common use cases
Use the E/M Coding webhook when you want your application to react as soon as standalone coding finishes, instead of polling for status.Show Codes for Review
When the notification reports
SUCCESS, load the recommended codes and their reasons into your coding review UI.Advance RCM Workflows
Move a visit into your billing or review queue as soon as the codes are ready.
Stop Polling for Status
Replace repeated status calls with a single push notification for each standalone coding session.
Catch Failures Early
When the notification reports
FAILURE, log error_code and error_detail so coding staff and operations see accurate session status.When Suki sends an E/M Coding webhook
Suki sends an E/M Coding webhook after you call Generate E/M codes and coding reaches a final outcome. This includes successful coding, coding failures, and aborted sessions. Suki does not send a webhook while coding is still running. The top-levelstatus indicates the outcome reported by the notification:
Delivery rules
Your webhook receiver must account for the following behaviors:- Only the final outcome is sent. Suki sends nothing while coding is still running.
- A
FAILUREnotification does not always mean coding failed. Iferror_codeisERROR_CODE_NOTIFICATION_GENERATION_FAILURE, Suki could not generate the webhook body. Coding itself may have finished successfully. Check the session status before reporting a processing error. - The same notification can be delivered more than once. Use
session_idandstatusto identify and skip notifications your application has already processed.
If you suspect that you missed a notification, call the same endpoint to check the session’s current status.
How an E/M Coding webhook works
The following sequence shows how Suki delivers a notification and how your application retrieves the results.Send the Note for Coding
Your application calls Generate E/M codes with the finished note content and saves the
session_id from the 201 response.Suki Codes the Visit
Suki reviews the note and recommends Evaluation and Management codes with the reasons behind them.
Suki Sends the Webhook
Suki sends a POST request to your configured callback URL. The request contains the processing outcome and the E/M
session_id.Verify the Request and Respond
Your endpoint verifies the webhook signature and returns HTTP 200 within 30 seconds. Refer to Signature verification.
Check the Status and Retrieve Codes
When the notification reports
SUCCESS, call the status link if you need to confirm coding finished, then call the em_codes link to read the recommended codes. Refer to Retrieve E/M Coding results.What makes this payload different
The E/M Coding payload uses the samestatus pattern as Ambient and Form filling, with a few differences you should plan for:
session_idis the E/M Coding session ID from Generate E/M codes. It is never an ambient session ID.- Standalone E/M Coding sessions are not tied to an encounter, so
encounter_idis present but empty. Do not use it to look up the visit. Store your own visit reference next to thesession_idwhen you call Generate E/M codes. sessionscontains only the one E/M Coding session._linkscontains onlystatusandem_codes. Every other key is present but empty.