A Profile is a user-level record, to which you can attach properties called Profile Attributes, like "Gender" or "Last Website Visit." Profile Attributes can be dates, text fields, numeric values, or a non-ordered collection called a set. At some point, you may be inclined to view Profile data for specific customer IDs to verify your data is being collected properly. To do this, follow these steps:
- Download Postman for Chrome. This is a utility that allows you to easily execute API requests that would otherwise require writing scripts.
- Find your API credentials in the Localytics dashboard. These will be required for you to authenticate and use Postman to get Profiles data back. Credentials can be found by clicking "Settings" then "API Keys." The API keys in this case are "Localytics Profiles & Push API Keys."
- Insert those credentials from the Localytics dashboard into the Postman tool using "Basic Auth". Then hit "Update Request". This will make sure that when execute a request in the next step you will have proper permissions. Note that there is nothing you can do wrong here; worst case, you enter something incorrect and it doesn't work but nothing breaks.
- Navigate to "Headers" and type in the following URL string next in the top field making sure you have selected "GET" in the drop down that is adjacent: https://profile.localytics.com/v1/customers/123456. Note that the
123456value is the customer ID. Basically, this is how you communicate to Localytics saying "GET me all Profile data for customer ID
123456. Then hit "Send". Again, you can't do anything wrong or harmful here -- worst case, it won't work. The results for the specific customer ID will populate below.