Authentication
The StudyHQ Partner API uses token-based authentication. Every API request must include a valid access token in the request header.
Access Tokens
Tokens are issued per project (college) during onboarding. Each token is a pair of credentials:
The TokenSecret is displayed only once when the token is created. Store it securely. If lost, the token must be regenerated.
Sending the Token
Include the token in every request using the X-Access-Token header, formatted as TokenId:TokenSecret:
Required Headers
Example Request
Token Lifecycle
Security Best Practices
- Never expose the
X-Access-Tokenheader in client-side code or browser requests - Do not log raw request headers in your application
- Rotate tokens periodically or immediately if compromised
- Contact support@studyhq.com for token revocation or rotation assistance
