Authentication
Authentication
Dragla API uses API keys for authentication. To obtain the API key you will use in your requests, visit (https://app.dragla.co/api). Remember, your API key is confidential and unique to you! Do not share it with others or expose it in client-side code (e.g., browsers, applications).
Production requests should be routed from your backend server, where your API key is securely loaded from an environment variable or key management service.
Generating an API Key
To generate an API key, you need to create an account on our platform. Follow these steps to create an account and generate an API key:
Authenticating API Key
All API requests must include your API key in an Authorization HTTP header as shown below:
Authorization: X-Api-Key: YOUR_API_KEY
Example API request: