Introduction

Use Sailor’s public API to configure the phone-system outcomes agents can apply during and after calls.

You can create action buttons, create post-call dispositions, move contacted people between Smart Lists, and receive webhooks when an action runs.

The loop has three parts: your backend configures outcomes, Sailor shows them to agents, and Sailor sends events back when actions run.

What You Can Build

Base URL

https://api.sailorhq.io

Supported Endpoints

MethodPathUse it for
GET/phone-system/outcomesList the outcomes configured for the workspace.
POST/phone-system/outcomesCreate a new outcome.
PATCH/phone-system/outcomes/{outcomeId}Replace an existing outcome configuration.
DELETE/phone-system/outcomes/{outcomeId}Delete an outcome.

Build against the documented endpoints in these guides and the API Reference. Undocumented paths can change without notice.

How The Loop Works

1

Authenticate from your backend

Send a bearer token with each request. Keep the token server-side.

2

Configure outcomes

Create action outcomes for in-call controls and disposition outcomes for the required post-call step.

3

Agents apply outcomes

Sailor shows those outcomes inside the phone-system workflow for the active workspace.

4

Sailor runs the destination

Depending on the outcome, Sailor can move the contacted person into a Smart List, remove them from lists, and prepare the webhook event.

5

Your backend accepts the event

Return any 2xx status after you store or enqueue the webhook payload.

Choose Your Path