#
Getting guest accounts
Note
These endpoints are currently only available to institutions that are participating in the guest management beta program. If you are interested in joining the program, please contact us.
#
Getting guest accounts
Admin only
Paginated
To get the guest accounts of a realm, use one of the following endpoints:
GET /api/guest-accounts
POST /api/guest-accounts
On success the response will be the default API response with the data being a data array of guest accounts. The guest account entities will be in the following format:
[
{
"id": "string",
"name": "string",
"creationDate": "2023-12-15T15:30:52.768Z",
"expirationDate": "2023-12-15T15:30:52.768Z",
"note": "string" | null,
"profileLimit": 0 | null,
"revoked": false,
"activeProfileCount": 1
}
]
The search parameter for this paginated endpoint is a string that will be used to search for guest accounts with a name that contains the search string.
The following keys are supported for the sort parameter:
The following keys are supported for the filter parameter:
#
Getting a specific guest account
Admin only
To get a specific guest account by its ID, use the following endpoint:
GET /api/guest-accounts/{guestAccountId}
With {guestAccountId} being the ID of the guest account to retrieve.
On success the response will be the default API response with the data being the guest account entity in the following format:
{
"id": "string",
"name": "string",
"creationDate": "2023-12-15T15:30:52.768Z",
"expirationDate": "2023-12-15T15:30:52.768Z",
"note": "string" | null,
"profileLimit": 0 | null,
"revoked": false,
"activeProfileCount": 1
}
#
Getting the guest account token
Admin only
Security Warning
People with access to this token can create and download valid guest profiles. Depending on your institution's policies and network configuration, this may include access to your network resources. Check your network configuration before handing out this token to third parties.
The guest account token is a cryotographic token that API clients can use to create and download profiles under a guest account without requiring authentication. To get the guest account token for a specific guest account by its ID, use the following endpoint:
GET https://auth.easyroam.de/api/guest-token/{guestAccountId}
With {guestAccountId} being the ID of the guest account to retrieve the token for.
On success the response will be the default API response with the data being a string representing the guest account token.