How to Create an API Key
API keys are generated from your Ruler ELD company dashboard. Only the main company account has the ability to create API keys. These keys enable third-party integrations to access your units' tracking data.
Prerequisites
You must have access to the primary/main company account on Ruler ELD. Sub-accounts or driver accounts cannot generate API keys.
Step-by-Step Instructions
Log In
Access your Ruler ELD account by logging in with your main company account credentials at the dashboard.
Navigate to API Keys
In the sidebar, scroll down to the "More" section. Click on API Keys to open the API key management page.
Add a New Key
Click the 'Add Key' button to initiate the creation process.
Configure & Generate
Provide a descriptive title for your key (for identification purposes), then click 'Generate' to produce the API key.
Copy & Use
Copy the generated key and store it securely. Use it in API requests via the x-api-key header for third-party integrations.
Key Details
| Item | Info |
|---|---|
| Account required | Company's main / primary account |
| Access level | 3rd party integration / unit tracking |
| Header name | x-api-key |