# Create an event type `POST /api/v1/event-types` Creates an event type. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Events → Write**. ## Body parameters - `name` (string, required) — Name of the event type, up to 120 characters. Must be unique among active types. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/event-types" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "Content-Type: application/json" \ --data '{"name":"Practice"}' ``` ## Response **201 Created** The created event type is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 8, "name": "Practice", "sort_order": 2, "archived_at": null } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `400` — The name is missing, invalid, or already used by an active event type.