Delete an API key
Permanently revokes and deletes an API key. Requires a read-write key with full profile access. A key may delete itself.
Authorization
bearerAuth PostZen API key.
In: header
Path Parameters
PostZen API key id.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/api-keys/string"{ "message": "API key deleted successfully"}{ "error": "Unauthorized"}{ "error": "API key requires read_write permission"}{ "error": "API key not found"}{ "error": "Failed to create post"}Create an API key POST
Creates an API key and returns the full key value exactly once. This endpoint requires a read-write API key with access to all profiles; profile-scoped keys receive a `403`. Store the returned `key` securely — it cannot be retrieved again after this response.
List comment automations GET
Returns visible automations newest first, 100 per page by default. Use limit and skip to page through more. Reads use the plan per-minute limit. Instagram accounts, Facebook Pages and TikTok business accounts (public reply only). A comment permits one private reply ever, within 7 days. Story replies (Instagram only) use normal DMs inside the 24-hour messaging window. Buttons and image cards (template) fall back to text with title and URL lines if Meta rejects the template. Reconnect the account on 403 platformCapabilityMissing to grant instagram_business_manage_comments and instagram_business_manage_messages on Instagram, or pages_messaging and pages_manage_metadata on a Facebook Page (plus pages_manage_engagement when commentReply is set).