Get user

GET/users/{uuid}

Returns user for given user uuid.
Required privileges:

  • biz-core.view (all users must have this privilege)
  • biz-core-own-user.view (if user has this privilege, it will see only his own user in response list).

Audit event:

  • biz.core.v2.user.get
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

uuidstringrequired

User UUID.

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/users/{uuid}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

User data

application/json
emailstring
firstNamestring
lastNamestring
statusstring
Possible values: active, inactive, invited, disabled
uuidstring
Example response
{
  "email": "string",
  "firstName": "string",
  "lastName": "string",
  "status": "active",
  "uuid": "string"
}