AsyncAPI channel · Codehooks
· Codehooks Events API
collection/beforeCreate
Triggered before a new document is created in a collection. Allows validation or transformation of the incoming document data.
Channel address
collection/beforeCreate
Operations
subscribe
onBeforeCreate
Before document creation hook
Messages
DocumentEvent
Event payload containing a document from a Codehooks collection during CRUD lifecycle hooks.
Content-Type:
application/jsonAbout AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.