Getting started
Authentication
Authenticate every request with your API key as a Bearer token.
Authorization: Bearer gl_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxExample
curl https://api.goth.video/v1/models \
-H "Authorization: Bearer $GOTH_API_KEY"Key types
Live keys start with gl_live_. Each key belongs to one account, is scoped to the models in your approval, and spends that account’s credit balance. We store only a hash of each key: it is shown once when issued and cannot be recovered.
Keep keys server-side. Never ship them in a browser, mobile app or public repository. If a key leaks, contact us through your partner channel to revoke it and issue a new one.
Failed authentication
A missing, malformed or revoked key returns 401 invalid_api_key. A valid key used for a model outside its approval returns 403 model_not_permitted.