Skip to main content
The Shilo External API gives you programmatic access to call recordings, AI-generated coaching and analysis, contacts, users, and more. All endpoints follow REST conventions — you interact with them using standard HTTP methods, and every response is returned as JSON. This page covers the foundational concepts you need before diving into individual endpoints.

Base URL

All API requests are made to the following base URL:
Every endpoint path in this reference is relative to this base. For example, the calls list endpoint is accessed at https://api.shilo.ai/api/v1/calls.

Authentication

The Shilo API uses API keys to authenticate requests. You must include your API key on every request using one of the two supported header formats:
Both formats are equivalent. Your API key is tied to your Shilo organization and carries specific permissions. Keep it secret and never expose it in client-side code or public repositories.
Read-only vs. write keys — Shilo issues both read-only and write-enabled API keys. Read-only keys may call GET endpoints but will receive a 403 Forbidden response if they attempt any write operation such as POST /calls. Use a write-enabled key when submitting call recordings or creating resources.

Response Format

All responses — including errors — are returned as application/json. Successful responses follow a consistent envelope shape for collection endpoints:
Single-resource endpoints return the resource object directly, without a wrapping envelope.

HTTP Status Codes

Shilo uses standard HTTP status codes to indicate the outcome of every request.

Example Request and Response

The following example retrieves your most recent call recording:

API Resources

The Shilo API is organized into the following resource groups. Select a section to explore the available endpoints.

Calls

List, submit, retrieve, and analyze call recordings with full AI coaching output.

Appointments

Manage scheduled appointments tied to contacts and sales stages.

Roleplays

Access AI-powered roleplay sessions used for agent practice and scoring.

Contacts

Create and manage contacts (leads) associated with your calls and appointments.

Users

Manage agent user accounts, roles, and external ID mappings.

Invitations

Send and track invitations for new agents to join your Shilo organization.

Metrics

Query aggregated performance metrics for agents and teams over time.

Coaching

Retrieve AI-generated coaching insights, improvement areas, and top moments.