Creates an anonymous account on Avaya Spaces. Returns a unique JSON Web Token (JWT) that must be used to authorize anonymous access. Includes options for specifying the anonymous user's display name, username, and picture URL. Note that the JWT returned expires after 24 hours.

See here for using JWT to access Avaya Spaces APIs.

Body Parameters

NameDescriptionJSON typeRequiredDefault Value
displaynameThe user's full nameStringNo
usernameThe user's email address, or another unique usernameStringNo
picturefileThe URL of the the user's profile photo.StringNo'{FQDN}/norevimages/noimage.jpg'

Authorization

None required.

Example Request

URL

For Production: POST https://spacesapis.avayacloud.com/api/anonymous/auth
For Staging: POST https://loganstagingapis.esna.com/api/anonymous/auth

Headers

None.

Body

{
  "displayname": "anonymous ab",
  "username":"aUniqueNameABC"
}
    

Example Response

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhbm9ueW1vdXNfaWQiOiI1OGZlMDJmZDBjNmM0NDA1ZDQwN2EyYWYiLCJwcm9kdWN0X3R5cGUiOiJvbmVzbmEiLCJpc3MiOlsiemFuZyIsImlvIl0sImlhdCI6MTQ5MzA0MTkxNywiZXhwIjoxNDkzMTI4MzE3fQ.zF82MaqDQbD4hjcvf5vlb7RfVugLkb3vZt628UZZZKE"
}