Skip to content

Retrieving User Properties

Description

This operation allows retrieving user properties from the user object stored locally in the client application.

Method

GET

Endpoint URL

The xxxx.backendless.app is a subdomain assigned to your application. For more information see the Client-side Setup section of this documentation.

https://xxxx.backendless.app/api/users/<user_objectId>?props=propname1,propname2

where:

Argument                Description
<user_objectId> objectId of the user object for which to load the values of the specified properties.
propname1, propname2 names of the properties for which  to load the corresponding values.

Request Headers

None.

Request Body

None.

Response Body

An object containing properties and corresponding values.

{  
  "propName1" : value,  
  "propName2": value,   
}

Example

The example below retrieves the phoneNumber user property.

curl --location --request GET 'https://xxxx.backendless.app/api/users/4D584E4D-05A3-4AC4-90C7-B80D1584E7AD?props=phoneNumber