Skip to main content
Emma’s REST API lets your systems start workflows and retrieve results on demand. A client application sends a structured request and Emma executes the workflow — initiating a patient call, scheduling an appointment, or returning a status summary. Emma can also call your APIs during a workflow when it needs to retrieve context or perform an approved action in your system.

Common actions

Authentication

Every request must include your Emma API key in the Authorization header.
Your API key is available on the Emma Integrations page. Treat it as a secret and never expose it in client-side code.

Starting a workflow

The example below starts an outbound call to a patient as part of an abandonment recovery workflow.
Emma responds immediately with a workflow ID and initial status that you can use to track progress.

Retrieving workflow status

Use the workflow ID returned at creation to poll for the current state and final outcome.

Emma calling your APIs

Emma can also call your APIs during a live workflow when it needs to retrieve data or perform an approved action — such as checking appointment availability or updating a patient record. You configure the endpoint, authentication method, and permitted actions in the Emma Integrations settings. Emma will only call endpoints and perform actions you have explicitly approved.
Keep Emma’s permitted API actions scoped to the minimum needed for each workflow.

When to use the REST API

Use REST API when

An action must happen on demand, you need a defined request/response contract, or you want to retrieve the current state and outcome of a running or completed workflow.

Consider webhooks instead

Your system needs to notify Emma that something happened, rather than requesting an action. Webhooks are the right fit for event-driven triggers.