Skip to main content
This page documents the TattooAPI half of private artist/studio Agent MCP (TAT-158). As of Railway deploy a70bd1b8 (cafe d1dd9c7f), POST /api/v1/auth/pats/verify, POST /api/v1/auth/pats/introspect, and GET|POST /api/mcp are live on api.tattooapi.com. Issuance/revoke and full artist/studio product adapters remain staged. Public partner X-API-Key credentials are not interchangeable with these PATs.

PAT format

TattooAPI stores only a SHA-256 (or HMAC-SHA256 when PAT_HASH_SECRET is set) hash. The full token is returned once at issuance.

Scopes

Endpoints

  • POST /api/v1/auth/pats — issue
  • POST /api/v1/auth/pats/verify — verify (+ optional requiredScopes)
  • POST /api/v1/auth/pats/revoke — revoke by id
  • POST /api/v1/auth/pats/introspect — active metadata
  • GET|POST /api/mcp — authenticated Agent MCP host
Machine contract: Private Agent OpenAPI (JSON embedded; raw .json asset upload unavailable via Mintlify Admin MCP).

MCP tools

Call with Authorization: Bearer tat_test_... (or tat_live_...).

Public vs private

Public partner keys (X-API-Key from partners.tattoo.dev) continue to use the permissions on Authentication. They must not reach private PAT routes or /api/mcp agent tools.