Skip to content

User profile

Davor Komušanac edited this page Dec 7, 2022 · 4 revisions

Infobip platform creates an empty user profile as soon as device registers on the platform. You can enrich this user profile using the SDK APIs. Example below explains how to set firstName, lastName, email and phoneNumber:

var user = {
    firstName: "John",
    lastName: "Doe",
    phones: ["79210000000"],
    emails: ["john.doe@infobip.com"]
}

mobileMessaging.saveUser(user, user => {
    // Here you can use updated user instance
});

Afterwards you should be able to find this user profile at Infobip Portal using for example the phoneNumber provided via the SDK:

Searching for user profile

Then you can click on that user in order to see the user profile. You should see your firstName and lastName there as well as phoneNumber and email under "Contact Information" tab.

User profile

You can find more details about further profiling and at Users and installations.

Clone this wiki locally