IPera Starling | Developer HubIPera Starling | Developer Hub
  • IPera Starling REST API

    • Getting Started
  • Endpoints

    • Access Codes
    • Advertisements
    • Analytics Information
    • Guests
    • Guest Activities
    • Guest Dashboard
    • Guest Devices
    • Guest Sessions
    • Location Information
    • Location Analytics
    • Tenants
    • Users

Users

Get User List

By using this API endpoint, it is possible to get the list of users.

Please note that you cannot get more than 100 records per request. In case you need to get more than 100 records, then you should make more than one request.

Endpoint

GET /users

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

NameTypeDescription
namestringName of the user. Performs text-search.
emailstringEmail of the user. Performs text-search.

Response

Tips

HTTP/1.1 200 OK

{
  "data": [
    {
      "id": "QZOpo3GoB8X",
      "user_id": 123,
      "name": "John Doe",
      "username": "johndoe",
      "user_type": 1,
      "user_type_name": "Platform",
      "email": "john@doe.com",
      "role": "support",
      "role_name": "Support",
      "current_tenant_name": "Company",
      "current_tenant_id": "QZOpo3GoB8X",
      "location_id": "ZOpo383vB8X",
      "location_name": "Venue",
      "status": 1,
      "is_trashed": false,
      "locale": "en"
    },
    ...
  ],
  "links": {
    "first": "[[BaseUrl]]/users?page=1",
    "last": null,
    "prev": null,
    "next": "[[BaseUrl]]/users?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "path": "[[BaseUrl]]/users",
    "per_page": 10,
    "to": 2,
  }
}

Get User Count

By using this API endpoint, it is possible to get the count of the users.

Endpoint

GET /users/count

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

NameTypeDescription
namestringName of the user. Performs text-search.
emailstringEmail of the user. Performs text-search.

Response

Tips

HTTP/1.1 200 OK

{
  "count": 1000
}

Create User

Create a new user with given attributes.

Endpoint

POST /users

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

NameTypeRequiredDescription
namestring✔Name of the user. Min. 5 characters.
emailstring✔Email of the user.
rolestring✔Role of the user. tenant: Tenant Admin, venue: Venue Admin, front-desk: Front Desk
passwordstring✔Password of the user. 8 - 30 characters in length and include a number, a symbol, an upper case letter, a lower case letter.
password_confirmationstring✔Password confirmation. Must be same with password field.
statusint✔Status of the user. 0: Passive, 1: Active, 2: Banned
location_idstringLocation of the user. Required if user's role is Venue Admin or Front Desk

Response

Tips

HTTP/1.1 200 OK

{
  "data": {
    "id": "MO92vaXoe3a",
    "user_id": 456,
    "name": "John Doe",
    "username": "johndoe",
    "user_type": 1,
    "user_type_name": "Platform",
    "email": "john@examplet.com",
    "role": "front-desk",
    "role_name": "Front Desk",
    "current_tenant_name": "Company",
    "current_tenant_id": "QZOpo3GoB8X",
    "location_id": "N1L5ead5j7p",
    "location_name": "Concert Venue",
    "status": 1,
    "is_trashed": false,
    "locale": "en",
    "api_token": null
  }
}

Unprocessable Entity

HTTP/1.1 422 Unprocessable Entity

{
  "message": "The given data was invalid.",
  "errors": {
    "name": [
      "The name must be at least 5 characters."
    ],
    "email": [
      "The email field is required."
    ],
    "role": [
      "The role field is required."
    ],
    "password": [
      "The password field is required."
    ]
  }
}

Update User

Update user information.

Endpoint

PUT /users/:id

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

NameTypeRequiredDescription
namestring✔Name of the user. Min. 5 characters.
emailstring✔Email of the user.
rolestring✔Role of the user. tenant: Tenant Admin, venue: Venue Admin, front-desk: Front Desk
statusint✔Status of the user. 0: Passive, 1: Active, 2: Banned
passwordstringPassword of the user. 8 - 30 characters in length and include a number, a symbol, an upper case letter, a lower case letter.
password_confirmationstringPassword confirmation. Must be same with password field.
location_idstringLocation of the user. Required if user's role is Venue Admin or Front Desk

Response

Tips

HTTP/1.1 200 OK

{
  "data": {
    "id": "MO92vaXoe3a",
    "user_id": 456,
    "name": "John Doe",
    "username": "johndoe",
    "user_type": 1,
    "user_type_name": "Platform",
    "email": "john@examplet.com",
    "role": "front-desk",
    "role_name": "Front Desk",
    "current_tenant_name": "Company",
    "current_tenant_id": "QZOpo3GoB8X",
    "location_id": "N1L5ead5j7p",
    "location_name": "Concert Venue",
    "status": 1,
    "is_trashed": false,
    "locale": "en",
    "api_token": null
  }
}

Unprocessable Entity

HTTP/1.1 422 Unprocessable Entity

{
  "message": "The given data was invalid.",
  "errors": {
    "name": [
      "The name must be at least 5 characters."
    ],
    "email": [
      "The email field is required."
    ],
    "role": [
      "The role field is required."
    ]
  }
}

Deactivate User

Deactivate given user.

Endpoint

PUT /users/:id/deactivate

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

None

Response

Tips

HTTP/1.1 204 No Content

Activate User

Activate given user.

Endpoint

PUT /users/:id/activate

Rate Limit

This endpoint has a rate limit of 60 requests per minute.

Parameters

None

Response

Tips

HTTP/1.1 204 No Content

Last Updated: 8/11/26, 8:49 PM
Prev
Tenants