Users


GEThttps://api.voxo.co/users/{recordId}

Get User By Id

Fetch user by Id

Parameters

Path
  • Name
    recordId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

{
    "id": 1392,
    "tenantId": 37,
    "receiveQueueReports": 0,
    "email": "jh@hu.com",
    "emailField": null,
    "avatarPath": null,
    "avatarFileName": null,
    "userRole": 5,
    "us_useldap": "",
    "resetToken": null,
    "online": 0,
    "lastOnline": null,
    "enableCallNotifications": 1,
    "enableChatNotifications": 0,
    "integrationId": null,
    "timezone": null,
    "adminQueues": [],
    "tenantIds": [],
    "name": "flka",
    "extNum": "90809"
}

cURL

curl --location -g \
--request GET 'https://api.voxo.com/users/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'

GEThttps://api.voxo.co/users/?tenantId={tenantId}

Get All Users

Fetch all users your user has access

Parameters

Query
  • Name
    tenantId*
    Type
    Integer
    Description
Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

[
    {
        "id": 1392,
        "tenantId": 37,
        "receiveQueueReports": 0,
        "email": "jh@hu.com",
        "emailField": null,
        "avatarPath": null,
        "avatarFileName": null,
        "userRole": 5,
        "us_useldap": "",
        "resetToken": null,
        "online": 0,
        "lastOnline": null,
        "enableCallNotifications": 1,
        "enableChatNotifications": 0,
        "integrationId": null,
        "timezone": null,
        "adminQueues": [],
        "tenantIds": [],
        "name": "flka",
        "extNum": "90809"
    }
]

cURL

curl --location -g \
--request GET 'https://api.voxo.com/users/?tenantId=37' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'