API Keys

Manage your API keys for LogDock integration

🛝 API Playground
Production API
Created Oct 20, 2025
Last used Oct 24, 2025
active
ldk_prod_••••••••cdef
Development API
Created Oct 18, 2025
Last used Oct 23, 2025
active
ldk_dev_••••••••7890
Staging API
Created Oct 15, 2025
inactive
ldk_stag_••••••••dcba
How to use your API key
Include your API key in the Authorization header of your HTTP requests

cURL Example

curl -X POST https://api.logdock.com/v1/logs \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"level": "info", "message": "Hello LogDock"}'

JavaScript Example

fetch('https://api.logdock.com/v1/logs', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ level: 'info', message: 'Hello LogDock' }) })