API Keys
This document describes how to authenticate with the SpecRight API.
Authentication
All API requests require authentication using API keys. API keys are prefixed with sk_ and should be included in the Authorization header as a Bearer token.
Authorization: Bearer sk_your32characterhexkeyhere
Getting an API Key
- Log into your SpecRight account
- Navigate to Settings > API Keys
- Click "Create API Key" and provide a descriptive name
- Copy the generated key (it starts with
sk_) - Store the key securely - you won't be able to see it again
Usage Limits
API Keys can be set to have usage limits. The default is 0 (No Limit)
When you exceed your limit, you'll receive a 429 Too Many Requests error with rate limiting headers.