Returns all event types that can be assigned to calendar events.

  • HTTP Method: GET
  • Endpoint: /rest-api/1/event-calendar/event-types

Request example:

fetch("https://<site-url>/rest-api/1/event-calendar/event-types", {
method: "GET",
headers: {
"X-AldevaDigital-Rest-Token": "your-access-token",
"Content-Type": "application/json",
},
});

Response example:

{
"status": true,
"data": [
{
"id": 1,
"name": "Meeting",
"is_default": true,
"is_active": true,
"color": null,
},
{
"id": 2,
"name": "Workshop",
...
}
]
}

Response data contents

KeyTypeNullableDescription
idnumberNoUnique identifier for the event type.
namestringNoName of the event type (e.g., “Meeting”).
is_defaultbooleanNoIndicates if it’s system default or user created.
is_activebooleanNoIndicates if the event type was disabled by jira admin.
colorstring or nullYesRepresents the associated color (e.g., “#FF5733”), or null if no color is assigned.