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/logs

Send a single log entry to LogDock

Parameters

levelstringrequired

Log level (debug, info, warn, error)

Example: info

messagestringrequired

Log message content

Example: User authentication successful

channelstring

Channel hashtag to categorize logs

Example: #auth

platformstring

Platform identifier (web, mobile, api, desktop)

Example: web

metaobject

Additional 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"