API reference

API reference

AnswerStack Platform API 1.0.0: 437 operations.

The AnswerStack API is the same API the account admin app uses. Everything you can do in the app, you can automate: manage playbooks and groups, read calls and analytics, and check usage. This reference is generated from the API’s OpenAPI document on every docs build, so it always matches the deployed API.

Base URL#

Examples read the API base URL from $ANSWERSTACK_API_URL and a token from $ACCESS_TOKEN:

bash
export ANSWERSTACK_API_URL="https://api.<your-domain>"
export ACCESS_TOKEN="<access token>"

Authentication#

Endpoints marked with a bearer token expect Authorization: Bearer <token>, where the token is the access token from signing in (Supabase Auth). Tokens are short-lived; refresh them with your Supabase client. Role checks apply on top of authentication, and every request only sees data for the caller’s own account.

Errors#

Every error response uses the same JSON body:

FieldTypeRequiredDescription
errorobjectYes—
error.codestringYes—
error.detailsanyNo—
error.messagestringYes—
error.requestIdstringYes—

Endpoints#

SectionOperationsDescription
Me80The signed-in user
Account42Account settings and team
Playbooks22Playbooks, drafts, versions and publishing
Groups21Groups, profiles, customizations and human backup
Numbers13Phone numbers and playbook assignments
Knowledge6Knowledge documents
Connections12CRM and calendar connections
Rules2Booking rules simulation
Calls15Calls, transcripts, recordings and callbacks
Analytics5Metrics
Usage5Usage and invoices
Test Calls3Test calls against drafts
Public21Public marketing site endpoints
Booking Pages8Booking Pages endpoints.
Brands8Brands endpoints.
Emails20Emails endpoints.
Experiments5Experiments endpoints.
Follow Up2Follow Up endpoints.
Insights48Insights endpoints.
Media25Media endpoints.
Members8Members endpoints.
Price Sync9Price Sync endpoints.
Pricing31Pricing endpoints.
Ring Groups7Ring Groups endpoints.
Tools15Tools endpoints.
Widget Keys4Widget Keys endpoints.