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— issuePOST /api/v1/auth/pats/verify— verify (+ optionalrequiredScopes)POST /api/v1/auth/pats/revoke— revoke by idPOST /api/v1/auth/pats/introspect— active metadataGET|POST /api/mcp— authenticated Agent MCP host
.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.