Skip to main content
The Faces API is a REST API that lets you programmatically generate and manage interactive, explorable decks. Pitches, portfolios, guides, and proposals. Describe what you want in a prompt, and Faces builds it.

Base URL

Authentication

Include your API key as a Bearer token:
See Authentication for how to create a key.

Request format

  • All request bodies are JSON (Content-Type: application/json)
  • All responses are JSON

Error responses

Errors return a JSON body with an error field and optionally a hint:
StatusMeaning
400Invalid request body or parameters
401Missing or invalid API key
402Insufficient credits to start a generation
403Action requires a paid plan
404Resource not found
409Conflict (URL, subdomain, or domain already in use)
429Rate limit exceeded (50 req/min)
500Internal server error
502Generation could not be dispatched

Rate limits

All endpoints share a 50 requests per minute limit per user. When exceeded:
  • Response status: 429
  • Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset

Pagination

List endpoints use cursor-based pagination: