Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The GET /users/{userId} endpoint returns the user matching the user ID provided.

Panel
borderColor#eeeeee
bgColorwhite
titleColorwhite
borderWidth1
titleBGColor#7ec9f4#0276D5
borderStylesolid
titleIn this page

Table of Contents

Insert excerpt
_ExcerptAPICloudNextGen
_ExcerptAPICloudNextGen
nopaneltrue

Headers

Header parameters in Requests (User Admin API) apply to this endpoint.

Authorization scopes supported:

ScopeAccess granted
users:readEntire endpoint
users:writeEntire endpoint

Parameters

The endpoint accepts the following path parameter:

...

Type

Required

Example

StringTrue8e22b1fe-d2ea-403d-8c03-50eb21188e79

The user ID of the required user.

Requests

Request a single user

Code Block
languagepowershell
themeMidnight
curl -L -X GET "https://***.api.newvoicemedia.com/useradmin/users/8e22b1fe-d2ea-403d-8c03-50eb21188e79" \
-H "Accept: application/vnd.newvoicemedia.v4+json" \
-H "Authorization: Bearer <ACCESS_TOKEN>"

Responses

Responses contain the requested user object.

Successful response

Successful requests return a 200 Success code and the requested user.

Example response

Code Block
languagejs
themeMidnight
{
  "usernameuserId": "wallboard8e22b1fe-d2ea-403d-8c03-50eb21188e79",
  "nameusername": "Wallboardwallboard",
  "emailname": "wallboard@vonage.comWallboard",
  "userIdemail": "8e22b1fe-d2ea-403d-8c03-50eb21188e79wallboard@vonage.com",
  "lastLoginTime": "2021-08-26T07:37:55.465Z",
  "active": true,
  "locked": false,
  "ssoExternalId": "exampleSso",
  "userAccountConfiguration": {
    "role": "Wallboard",
    "chargeable": true,
    "actAsAgent": true,
    "agentConfiguration": {
      "agentDisplayId": "123",
      "webrtc": true,
      "enforcedDispositionCodes": false,
      "transcribeCalls": true,
      "screenRecording": false,
      "callParking": true,
      "salesCadence": false,
      "outboundAutoanswer": true,
      "inboundAutoanswer": true,
      "outboundWrapUp": 100,
      "backToReadyAfterNoAnswer": 100,
      "backToReadyAfterLineBusy": 90,
      "backToReadyAfterInvalidNumber": 80,
      "backToReadyAfterNetworkIssue": 5,
      "callRatingFrequency": 56,
      "location": "GB",
      "telephonyAddress": {
        "telephoneAddress": "800100",
        "telephonyExtension": "44",
        "outboundTelephonyRegion": "ab6fd03e-de5a-41fb-9ad8-0e9fcb39f827",
        "nationalDisplay": true,
        "virtualLocation": "PL",
		"preventAutoCallbackNumber" : true,
		"selectedCallbackNumberId": "4c0b6793-a4c9-4075-839e-08fb99ba7efd"
       },
      "capacity": {
        "isAgentLevel": false,
        "live": 60,
        "nonlive": 15,
        "semilive": 75
      },
      "associatedUsers": [
        {
          "username": "supervisor_vbc",
          "applicationType": "VBC"
        }
      ]
    }
  }
}

where:

Insert excerpt
_ExcerptAPIUserObject
_ExcerptAPIUserObject
nopaneltrue

Insert excerpt
_ExcerptRunInPostman
_ExcerptRunInPostman
nopaneltrue