# GoFaceless Developer Platform

Build video workflows with the GoFaceless REST API, hosted MCP server, and companion CLI. The public API uses durable video sessions, typed request and response schemas, scoped bearer authentication, idempotent mutations, explicit state versions, and problem-detail errors.

## API endpoints

- API base: https://api.gofaceless.ai/api/v1
- OpenAPI 3.1 schema: https://api.gofaceless.ai/api/v1/openapi.json
- Video capabilities: https://api.gofaceless.ai/api/v1/video-sessions/capabilities
- MCP Streamable HTTP endpoint: https://mcp.gofaceless.ai/mcp
- OAuth protected-resource metadata: https://mcp.gofaceless.ai/.well-known/oauth-protected-resource/mcp
- Authorization server discovery: https://www.gofaceless.ai/.well-known/oauth-authorization-server

## Authentication

Use `Authorization: Bearer <token>`. Interactive agent hosts should follow the OAuth challenge returned by the MCP endpoint. GoFaceless API keys are intended for organization-owned server integrations and must remain in an authorization header. Never put credentials in a URL, prompt, query string, log, or webhook body.

## Reliability contract

Send `GoFaceless-Version` when pinning a calendar API contract and `X-GoFaceless-Mode: sandbox` for deterministic no-spend fixtures. Mutations require `Idempotency-Key`; state-bound actions also require the current state validator. API responses publish rate-limit policy and remaining-quota hints. A 429 includes `Retry-After`. Deprecated versions include `Deprecation`, `Sunset`, and a policy link.

- [Versioning and deprecation policy](https://www.gofaceless.ai/en/developers/versioning)
- [MCP and CLI setup](https://www.gofaceless.ai/en/mcp)
- [Site-wide agent index](https://www.gofaceless.ai/llms.txt)
