/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 · uuidWorkspace UUID. Endpoints here receive the events of every community in the workspace.
Response · 200
data*arrayEvery event type this product sends.
Example
Request
GET https://social.productcraft.co/v1/workspaces/{workspace_id}/webhooks/event-types
Authorization: Bearer YOUR_TOKENResponse
{
"data": [
{
"type": "post.created",
"description": "A user signed up or was created by an admin.",
"category": "Users",
"example": {}
}
]
}