Supported Auth Methods
SlideVids API supports:
x-api-keyheader (recommended for automation)Authorization: Bearer <jwt>(useful for interactive flows)
Server auth priority is API key first, then bearer token, then session cookie.
API Key Example
export SLIDEVIDS_API_KEY="sv_live_xxx"
curl -s https://api.slidevids.com/v1/me \
-H "x-api-key: $SLIDEVIDS_API_KEY"
Bearer Token Example
export SLIDEVIDS_TOKEN="eyJ..."
curl -s https://api.slidevids.com/v1/me \
-H "Authorization: Bearer $SLIDEVIDS_TOKEN"
Common Auth Errors
401when credentials are missing/invalid.403when the account tier does not allow API access.
Recommended Practices
- Store API keys in env vars or secret managers.
- Never hardcode credentials in source control.
- Log request IDs from error responses for support/debugging.