---
title: "REST API: Get Event Resource Types"
type: "wiki"
space: "Axero Documentation"
author: "Anonymous User"
created: 2020-07-08T23:13:39Z
updated: 2026-09-28T01:14:01Z
tags: ["API"]
url: "https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/42879/rest-api-get-event-resource-types"
---

# REST API: Get Event Resource Types

[Open API Guide](https://my.axerosolutions.com/spaces/5/axero-documentation/api-guide?id=42879)
GET/api/events/resourcetypes

Get the event resource types, each with its resources.

## Request

### Request Header
| Header | Required | Value | Description |
| :--- | :--- | :--- | :--- |
| `Authorization` | YES | `Bearer YOUR_TOKEN` | Bearer token for the authenticated user. [Learn how to create Bearer tokens](https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108973/creating-bearer-tokens). |
### Optional Parameters
| Parameter | Type | Required | Location | Description |
| :--- | :--- | :--- | :--- | :--- |
| `SpaceID` | Integer | NO | Query | Set a SpaceID to include only the event resources assigned to that space, along with resources not limited to any space |
| `ResourceTypeID` | Integer | NO | Query | Unique ID of the event resource type to return |
## Example

### Request Header

```
Authorization: Bearer YOUR_TOKEN
```

### Request URL

`https://your-site.com/api/events/resourcetypes?SpaceID=252`

### Success Response

```
[
  {
    "EventResourceTypeID": 1,
    "ResourceKey": "RoomText",
    "TypeName": "Room",
    "Translations": [
      {
        "ResourceKey": "RoomText",
        "ResourceValue": "Room",
        "CultureName": "en-US"
      }
    ],
    "IsRoom": true,
    "EventResources": [
      {
        "ResourceID": 5,
        "ResourceName": "Conference Room A",
        "Location": "Office Building A",
        "Description": "Place for large meetings",
        "EventResourceTypeID": 1,
        "CalendarURL": "/events/resources/5/calendar",
        "ImageFilename": "59eed55a-34fc-4337-a936-90f90d847d47.jpg",
        "ImageURL": "https://your-site.com/Assets/Uploaded-CMS-Files/59eed55a-34fc-4337-a936-90f90d847d47.jpg",
        "SpaceIDCSV": "252,257,258",
        "DateCreated": "0001-01-01T00:00:00"
      },
      {
        "ResourceID": 9,
        "ResourceName": "Conference Room B",
        "Location": "Office Building A",
        "Description": "Place for large meetings",
        "EventResourceTypeID": 1,
        "CalendarURL": "/events/resources/9/calendar",
        "ImageFilename": "814162a1-f98a-44ac-8810-bf9f7b53062d.jpg",
        "ImageURL": "https://your-site.com/Assets/Uploaded-CMS-Files/814162a1-f98a-44ac-8810-bf9f7b53062d.jpg",
        "SpaceIDCSV": "252,257,258",
        "DateCreated": "0001-01-01T00:00:00"
      }
    ]
  },
  {
    "EventResourceTypeID": 10,
    "ResourceKey": "CarsText",
    "Translations": [
      {
        "ResourceKey": "CarsText",
        "ResourceValue": "Cars",
        "CultureName": "en-US"
      }
    ],
    "IsRoom": false,
    "EventResources": [
      {
        "ResourceID": 10,
        "ResourceName": "Lincoln Navigator",
        "Location": "San Diego, CA",
        "Description": "The Lincoln Navigator is a big car.",
        "EventResourceTypeID": 10,
        "CalendarURL": "/events/resources/10/calendar",
        "ImageFilename": "ea77ac26-1fc3-425e-9452-10a0d7bf9fab.jpg",
        "ImageURL": "https://your-site.com/Assets/Uploaded-CMS-Files/ea77ac26-1fc3-425e-9452-10a0d7bf9fab.jpg",
        "SpaceIDCSV": "252,257,258",
        "DateCreated": "0001-01-01T00:00:00"
      }
    ]
  }
]
```

### Error Response

```
{
  "IsError": true,
  "ResponseMessage": "No Permission"
}
```

## Error Handling

| Status Code | Likely Cause | Next Action |
| :--- | :--- | :--- |
| 400 Bad Request | Not returned for a malformed value: a SpaceID or ResourceTypeID that is not an integer is treated as left out, and the call answers 200. | Send SpaceID and ResourceTypeID as whole numbers to apply them. |
| 401 Unauthorized | Missing or invalid Bearer token. | Check token validity. [Learn how to create Bearer tokens →](https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/108973/creating-bearer-tokens) |
| 403 Forbidden | Not returned: a caller who cannot read events gets 200 with IsError true and No Permission in ResponseMessage. | Read IsError on every response. |
| 500 Server Error | Internal failure. | Retry later. |
| 200 with IsError | The caller cannot read events anywhere on the site \(No permission\). | Call with a token that can read events. |

## Rate Limits

While Axero does not enforce hard rate limits by default, we recommend the following best practices to ensure optimal performance:

- **Sustained Request Rate:** Do not exceed 5 API calls per second
- **Sequential Processing:** Wait for each request to complete before sending the next in automated workflows
- **Concurrent Connections:** If parallel processing is required, limit to 3 or fewer simultaneous requests
- **Response Timeout:** Ensure API responses complete within 15 seconds during testing

Axero may implement temporary rate restrictions if excessive API usage affects overall site performance. For high-volume integrations, contact Axero to discuss your requirements.
