---
title: "REST API: Invite Users to Event"
type: "wiki"
space: "Axero Documentation"
author: "Anonymous User"
created: 2020-07-06T22:30:24Z
updated: 2026-09-28T01:18:24Z
tags: ["API"]
url: "https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/42834/rest-api-invite-users-to-event"
---

# REST API: Invite Users to Event

[Open API Guide](https://my.axerosolutions.com/spaces/5/axero-documentation/api-guide?id=42834)
PUT/api/events/\{EventID\}/invitees/members

Invite site members to an event by their user IDs. ResponseData is the string True when the invitations were added, otherwise False.

## 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). |
| `Content-Type` | YES | `application/json` | Must be set to `application/json` |
### Required Parameters
| Parameter | Type | Required | Location | Description |
| :--- | :--- | :--- | :--- | :--- |
| `EventID` | Integer | YES | Path | Unique ID of the event |
| `UserIDCSV` | String | YES | Body | Comma-separated user IDs of the members to invite, sent as a JSON string \(for example "12,34"\). |
## Example

### Request Header

```
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
```

### Request URL

`https://your-site.com/api/events/130/invitees/members`

### Request Body

```
"1018,1030"
```

### Success Response

```
{
  "IsError": false,
  "ResponseMessage": "",
  "ResponseData": "True"
}
```

### Error Response

```
HTTP 400 with an empty body
```

## Error Handling

| Status Code | Likely Cause | Next Action |
| :--- | :--- | :--- |
| 400 Bad Request | EventID is 0 or less or not an integer, or the body is missing \(no user list to split\); the response has no body. | Send a positive EventID and a JSON string body. |
| 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 | User does not have sufficient permissions. | Confirm the user has the required roles for this action. |
| 500 Server Error | Internal failure. | Retry later. |

## 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.
