Authentication
Build your apps with Hasab AI
All endpoints require authentication via Bearer token in the Authorization header.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token for authentication (API Key) |
Content-Type | No | Optional, defaults to application/json |
Notes on Authorization:
- API Key:
Authorization: Bearer HASAB_KEY_...(for programmatic access)
Example Request (cURL)
curl -X GET "https://hasab.co/v1/upload-audio" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"