# List event types

`GET` `https://goblins-call-api.onrender.com/v1/webhooks/events`

Returns every event type a subscription can ask for, with a line on what each means.

Needs a [workspace API key](https://www.cracklehq.com/docs/authentication).

Request:

cURL:

```bash
curl "https://goblins-call-api.onrender.com/v1/webhooks/events" \
  -H "Authorization: Bearer $CRACKLE_API_KEY"
```

Node.js:

```js
const response = await fetch('https://goblins-call-api.onrender.com/v1/webhooks/events', {
  headers: {
    Authorization: `Bearer ${process.env.CRACKLE_API_KEY}`,
  },
});
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
```

Python:

```python
import os
import requests

response = requests.get(
    "https://goblins-call-api.onrender.com/v1/webhooks/events",
    headers={"Authorization": f"Bearer {os.environ['CRACKLE_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
data = response.json()
```

Response · 200 OK:

```json
{
  "events": [
    { "type": "call.started", "description": "A call was created via POST /v1/calls and the agent was dispatched." },
    { "type": "call.ended", "description": "The call finished; includes reason, duration and full transcript." },
    …
  ],
  "wildcard": "*"
}
```

Source: https://www.cracklehq.com/docs/reference/webhooks/events
