/v1/workspaces/{workspace_id}/webhooks/event-typesAuthList the events an endpoint can subscribe to.
Each type with a plain description, its group and an example `data` object (what "Send test" delivers).
Path parameters
workspace_id*string · uuidId of the workspace.
Response · 200
data*arrayEvery event type this product sends.
Example
Request
GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/webhooks/event-types
Authorization: Bearer YOUR_TOKENResponse
{
"data": [
{
"type": "email.sent",
"description": "A user signed up or was created by an admin.",
"category": "Users",
"example": {},
"emitted": false,
"legacy_alias": "message.bounced"
}
]
}