API Keys
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 AuthorizationBearer <token>
PostZen API key.
In: header
Path Parameters
keyId*string
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 webhooks GET
Returns webhook endpoints visible to the API key, newest first. Secret and custom header values are never returned.