> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superdial.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperDial API

> Submit requests and retrieve results programmatically.

`POST /v1/requests` submits a [**request**](https://docs.superdial.com/guides/concepts.md#request) by specifying a `schemaId` and `inputs`. A schema defines both the inputs it requires and the fields you'll get back in `results`. `GET /v1/requests/{requestId}` returns the structured result. Discover the schemas provisioned for your account with [`GET /v1/schemas`](https://docs.superdial.com/guides/schemas).

> [!NOTE]
>
> Looking for the legacy SuperDial docs? They're still available at [superdial.readme.io](https://superdial.readme.io/).

> [!WARNING]
>
> Still calling `POST /v1/calls`? The legacy Calls API sunsets on **October 1, 2026**. See [Migrating from the Calls API](https://docs.superdial.com/guides/api-migration.md) for the field-by-field mapping and the migration checklist.

## Authentication

Every endpoint other than `GET /v1/auth` requires a bearer token. Exchange your API key and secret at `GET /v1/auth` for a short-lived token, then pass it as `Authorization: Bearer <token>` on every subsequent call (`POST`/`GET /v1/requests`, `GET /v1/requests/{requestId}`, `GET /v1/schemas`, `GET /v1/schemas/{schemaId}`, `GET /v1/schemas/{schemaId}/required-inputs`). See [Concepts → Production vs Sandbox](https://docs.superdial.com/guides/concepts.md#production-vs-sandbox) for which key to use when.

## Quickstart

The end-to-end flow has four steps:

**1. Authenticate**

Exchange your API key and secret for a 1-hour bearer token at [`GET /v1/auth`](https://docs.superdial.com/guides/creating-a-request#authentication).

**2. Submit a request**

[`POST /v1/requests`](https://docs.superdial.com/guides/creating-a-request) with `schemaId` and `inputs`. Optionally pass `internalId` for correlation and idempotency.

**3. Wait for completion**

SuperDial fires a [webhook](https://docs.superdial.com/guides/webhooks.md) to your configured URL when the request reaches a terminal state (`SUCCESS`, `PARTIAL`, or `FAILURE`).

**4. Fetch the result**

[`GET /v1/requests/{requestId}`](https://docs.superdial.com/guides/reading-requests#single-request) returns the structured `results`. When a phone call was placed, the response also includes the call transcript, recording URL, and summary.

Test the full flow without placing real phone calls using the [Sandbox](https://docs.superdial.com/guides/sandbox.md).

## Where to start

> [card] [Concepts & Glossary](https://docs.superdial.com/guides/concepts.md)
>
> Definitions for request, schema, payer, state, error object, modality, and other terms used throughout the API.

> [card] [Sandbox](https://docs.superdial.com/guides/sandbox.md)
>
> Test your integration end-to-end without placing real phone calls. What's identical to production, what's mocked.

> [card] [Creating a Request](https://docs.superdial.com/guides/creating-a-request.md)
>
> How to submit a single request or a batch with `POST /v1/requests`. Required fields, idempotency, batch semantics.

> [card] [Reading Requests](https://docs.superdial.com/guides/reading-requests.md)
>
> Fetch a request by ID, list requests by date, or pull all requests in a batch.

> [card] [Webhooks](https://docs.superdial.com/guides/webhooks.md)
>
> Receive request results when they reach a terminal state. Payload shape, signature verification, retry behavior.

> [card] [Schemas](https://docs.superdial.com/guides/schemas.md)
>
> Discover the schemas provisioned for your account and the input keys each one requires, so you can submit requests without checking with your account team first.

> [card] [Payer Phone Number Lookup](https://docs.superdial.com/guides/payer-resolution.md)
>
> How `payerName` resolves to a canonical payer record and dialing phone number: when it runs, what shapes the answer, and how to handle each failure mode.

## API Reference

The **API Reference** tab has the full endpoint specifications, request/response shapes, and every error code with examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.