List activity logs
Unified logs endpoint. Returns logs for publishing, connections, webhooks, and messaging. Filter by type, platform, status, and time range. Logs are retained for 90 days.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
Log category to query
"publishing""publishing" | "connections" | "webhooks" | "messaging"Filter by status
"success" | "failed" | "pending" | "skipped" | "all"Filter by platform
"tiktok" | "instagram" | "whatsapp" | "facebook" | "youtube" | "linkedin" | "twitter" | "threads" | "pinterest" | "reddit" | "bluesky" | "googlebusiness" | "telegram" | "snapchat" | "all"Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
Free-text search across log fields
Number of days to look back (max 90)
901 <= value <= 90Maximum number of logs to return (max 100)
501 <= value <= 100Number of logs to skip (for pagination)
00 <= valueResponse Body
application/json
application/json
curl -X GET "https://zernio.com/api/v1/logs"{
"logs": [
{
"type": "string",
"action": "string",
"user_id": "string",
"platform": "string",
"account_id": "string",
"status": "success",
"status_code": 0,
"error_message": "string",
"error_code": "string",
"duration_ms": 0,
"endpoint": "string",
"request_body": "string",
"response_body": "string",
"created_at": "2019-08-24T14:15:22Z",
"metadata": "string"
}
],
"pagination": {
"total": 0,
"limit": 0,
"skip": 0,
"pages": 0,
"hasMore": true
}
}{
"error": "Unauthorized"
}List connection logs GET
**Deprecated.** Use `GET /v1/logs?type=connections` instead. Retrieve connection event logs. Logs are retained for 90 days.
List publishing logs GET
**Deprecated.** Use `GET /v1/logs?type=publishing` instead. Retrieve publishing logs for all posts. Logs are retained for 90 days.