Loading...
API Playground
Test LogDock API endpoints with interactive examples
Authentication
Your API key will be included in the Authorization header
Request
Select an endpoint and configure your request
POST
/v1/logsSend a single log entry to LogDock
Parameters
levelstringrequiredLog level (debug, info, warn, error)
Example: info
messagestringrequiredLog message content
Example: User authentication successful
channelstringChannel hashtag to categorize logs
Example: #auth
platformstringPlatform identifier (web, mobile, api, desktop)
Example: web
metaobjectAdditional metadata as key-value pairs
Example: {"userId": "12345", "ip": "192.168.1.1"}
Response
Code Examples
curl -X POST "https://api.logdock.com/v1/logs" \
-H "Authorization: Bearer ldk_prod_1234567890abcdef1234567890abcdef" \
-H "Content-Type: application/json"