Speko Docs
API Reference

Introduction

Public REST API for the Speko voice gateway.

Welcome

The Speko API exposes the voice gateway and agent control plane from https://api.speko.dev. Core endpoints include sessions, sessions/phone, phone-numbers, calls, callbacks, transcribe, synthesize, complete, agents, knowledge-bases, usage, credits, and provider configuration. Calls that carry a routing intent let Speko pick the highest-scoring provider and fail over server-side. Phone calls support inbound routing, outbound PSTN dialing, lifecycle webhooks, post-call reports, recordings, and blind or warm transfers. The full spec is below.

OpenAPI specification

View the OpenAPI 3.1 spec file

Servers

EnvironmentBase URL
Productionhttps://api.speko.dev

Authentication

All endpoints are authenticated with a bearer API key. Mint one at API keys.

Authorization: Bearer sk_live_...

The OpenAPI spec declares this scheme as bearerAuth:

"security": [
  {
    "bearerAuth": []
  }
]

On this page