Developers

API reference

A clean, predictable REST API over HTTPS. Everything in the dashboard is available programmatically, with a live OpenAPI specification you can explore.

Base URL

All endpoints live under the versioned prefix. Your account base URL is shown in the dashboard.

https://api.glytos.com/api/v1

Authentication

Create an API key in the dashboard and send it in the X-API-Key header (a bearer token from the login flow also works). Keys are scoped to your organization; treat them like passwords.

header
X-API-Key: gly_••••••••••••••••••••••••

Quickstart

List your agents to confirm the connection works:

bash
curl https://api.glytos.com/api/v1/workflows \
  -H "X-API-Key: $GLYTOS_API_KEY" \
  -H "Content-Type: application/json"

Resources

Agents and workflows

Create, update, version, and publish prompt agents and visual workflows.

Calls

Start outbound calls, mint short-lived web-call tokens, and run transient agents.

Phone numbers

Search availability, provision, import, and route numbers across carriers.

Knowledge base

Upload sources, index them for retrieval, and attach them to agents.

Sessions

Read full transcripts, routing decisions, cost, latency, and recordings.

Webhooks and keys

Manage event subscriptions and API keys for your organization.

Webhooks

Subscribe to events (call started, completed, transcript ready, analysis done, and more). Every delivery is signed so you can verify it came from Glytos, and failed deliveries are retried.

Rate limits

Requests are rate-limited per IP, per organization, and per API key. When you exceed a limit the API returns 429 with headers describing when to retry. Live calls per organization can also be capped.

Model Context Protocol

Glytos also exposes its capabilities as an MCP server, so you can drive it from MCP-compatible AI tools and IDEs.

bash
python -m glytos.mcp

Explore the full reference

The complete, always-current endpoint list, request and response shapes, and an interactive console:

API Reference · Glytos