Skip to main content
Suki webhooks notify your application when a background operation finishes, so you can process the results without repeatedly polling for status updates. During partner onboarding, you register a callback URL where Suki sends notifications for Ambient, Form filling, and standalone E/M Coding sessions, as well as CKG ingestion jobs. All four products use the same callback URL, signature headers, and delivery rules. You only need to configure one endpoint and implement signature verification once. The event types, JSON payloads, and follow-up actions vary by product. See the product-specific webhook documentation to learn which events Suki sends, what each payload contains, and how to retrieve or process the results.

Events by product

Suki sends a webhook when a session or ingestion job reaches a final outcome.
If you request E/M codes on an ambient visit with artifacts: ["EM_CODES"], those results arrive on the Ambient webhook. They do not arrive on the E/M Coding webhook. Use the E/M Coding webhook only for standalone coding sessions.

Route each event to the right handler

When one callback URL receives more than one product, identify the product from the body in this order:
  • If the body includes a state field, treat it as a CKG ingestion event and handle it with CKG ingestion results.
  • If status is SUCCESS, read additional_info.session_type to tell Ambient, Form filling, and E/M Coding apart.
  • If status is FAILURE, look up session_id in the session IDs you saved when you created each session.
Failure payloads do not include additional_info, so they also do not include session_type.
Save each session ID with its product when you create the session. Keep ambient session IDs from create ambient session, Form filling session IDs from create Form filling session, and E/M Coding session IDs from generate E/M codes. When a FAILURE webhook arrives, look up that session_id to find the product.

Code example

product_for_session stands in for your own lookup of the session IDs you stored.

Delivery rules

Build your application’s receiver around these rules:
  • Suki sends webhooks only when processing finishes. Suki sends a webhook when a session or ingestion job reaches a final state, whether it succeeds or fails. It does not send notifications while processing is in progress. To track progress, poll the product’s status endpoint.
  • Cancelled sessions do not trigger webhooks. If you send CANCEL during an Ambient or Form filling session, Suki stops processing and does not send a webhook for that session.
  • A successful response does not guarantee that content was generated. For example, an ambient session with silent or very short audio can return SUCCESS while the session status is skipped. See Success does not always mean a note.
  • The same webhook can be delivered more than once. Suki retries failed deliveries after 5xx responses, 408, 429, timeouts, and network errors. Your endpoint must handle duplicate notifications safely. Use session_id with status for session webhooks, or transaction_id with state for CKG ingestion webhooks, to identify notifications you have already processed.
  • Not all failed deliveries are retried. Suki permanently stops retrying if your endpoint returns a 4xx response other than 408 or 429, or a successful HTTP status other than 200.
  • Webhooks can arrive concurrently. Suki can send notifications for different sessions and ingestion jobs to your endpoint at the same time. Make sure your endpoint can process concurrent requests.
  • Treat a webhook as a notification that processing has reached a final state, then use the product’s status endpoint to confirm the result. Do not treat a missing webhook as an error on its own.
  • Suki does not provide an API to resend webhooks. If you cancel a session or suspect that a notification was missed, check the status endpoint to confirm the current state of the work.
  • For details about retry conditions and duplicate deliveries, refer to Retries and duplicate deliveries.

Best practices

  • Test your integration end to end with an ambient session before going live. See Test webhook integration.
  • Make sure your endpoint can handle multiple webhook requests concurrently.
  • Verify each webhook signature and return HTTP 200 within 30 seconds. Process the remaining work asynchronously in the background.
  • Check for duplicate deliveries before processing a webhook. Use session_id with status for session webhooks, or transaction_id with state for CKG ingestion webhooks.
  • Log failed requests and trigger alerts when your endpoint rejects or cannot process a webhook. Use the product’s status endpoint to identify and recover missed work.

Next steps

Event catalog - Search every webhook payload and status or state value. Webhook request and response - Headers, the 200 response, retries, and duplicate deliveries. Signature verification - HMAC-SHA-256 verification steps and Python, TypeScript, Go, and Java examples. Webhook quickstart - Receive and verify your first webhook.
Last modified on November 5, 2026