Documentation Index
Fetch the complete documentation index at: https://apidocs.hopnow.io/llms.txt
Use this file to discover all available pages before exploring further.
For complete implementation guides, code examples, and troubleshooting, see the Authentication Guide in Getting Started.
Overview
The HopNow API uses HMAC-SHA256 signatures to authenticate all requests. Every API request must include four authentication headers.Required Headers
| Header | Description |
|---|---|
X-API-Key | Your API key identifier |
X-Signature | HMAC-SHA256 signature of the request |
X-Timestamp | Unix timestamp when request was created |
X-Nonce | Unique random token (32 hex characters) |
Signature Format
The signature is created by hashing the following payload with your API secret:- METHOD: Uppercase HTTP method (
GET,POST,PATCH,DELETE) - URL: Complete URL including protocol, domain, path, and query parameters
- TIMESTAMP: Unix timestamp as string
- NONCE: Unique 32-character hex string (prevents replay attacks)
- BODY: JSON request body as string (empty string for GET/DELETE)
Quick Example
Security Requirements
- Timestamp validation: Requests older than 5 minutes are rejected
- Nonce uniqueness: Each nonce can only be used once within the 5-minute window
- HTTPS only: All requests must use HTTPS
- Keep secrets secure: Never expose your API secret in client-side code or logs