/v1/apps/{app_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
app_id*string · uuidId of the app.
Response · 200
data*arrayEvery event type this product sends.
Example
Request
GET https://api.auth.productcraft.co/v1/apps/{app_id}/webhooks/event-types
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
const webhookEventTypeList = await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").webhooks.eventTypes.list();auth.admin.app(…).webhooks.eventTypes.list(options?): Auth.WebhookEventTypeList
Response
{
"data": [
{
"type": "user.signup",
"description": "A user signed up or was created by an admin.",
"category": "Users",
"example": {}
}
]
}