Skip to main content

API Documentation: Users API

The Users API, found in Aloware Admin under Integrations > Routing API > Users, returns every user in your Aloware account with their ID, name, email and current agent status when called with your API token.

Written by Laarni D

The Users API returns every user in your Aloware account with their current agent status. Use it to read user IDs, names, emails and statuses from another system.

The API lives in Aloware Admin under Integrations, in the Routing API group, on the Users page.

The Users page under Integrations > Routing API in Aloware Admin.


Before you start

Every request needs your account's API token. You find it in the API token card at the top of the Integrations pages.

Select the eye icon to show the token, or the copy icon to copy it. Keep the token secret, because the API, MCP (with a bearer token) and Form Connect all sign in with it.

When the token is shown, the Users page fills it into its example request. You can then copy a request that is ready to send.


Endpoint

Send a GET request to this path on your Aloware app address:

GET /api/v1/webhook/users

Query parameters

The endpoint takes one query parameter:

  • api_token (required): your account's API token.

Example request

The Users page shows this request with your account's address. This cURL template has the same shape:

curl --location \
--request GET \
--url 'https://[YOUR_ALOWARE_APP_ADDRESS]/api/v1/webhook/users' \
--data-urlencode 'api_token=[API_TOKEN]'

Replace [API_TOKEN] with your API token before you send it.


Response

A successful request returns HTTP 200 with a JSON list of users:

[
{
"id": 1,
"name": "John Doe",
"email": "[email protected]",
"agent_status": 1,
"human_readable_agent_status": "Available"
}
]

Each user in the list has these fields:

  • id: the user's ID in Aloware.

  • name: the user's name.

  • email: the user's email address.

  • agent_status: the user's current status as a number.

  • human_readable_agent_status: the same status as a name.

Agent statuses

Each agent_status number stands for one status:

  • 0: Offline

  • 1: Available

  • 2: Busy

  • 3: On Break

  • 4: On Call

  • 5: Wrap-up

  • 6: Ringing


Need another endpoint?

To ask for an endpoint that the API does not offer, email [email protected].

Did this answer your question?