api keys
Delete key
Permanently revokes and deletes an API key.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
keyIdstring
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.apiKeys.deleteApiKey({ path: { keyId: 'key_abc123', },});console.log(data);{
"message": "API key deleted successfully"
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Create key POST
Creates a new API key with an optional expiry. The full key value is only returned once in the response.
List activity logs GET
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.