Create a User automatically from your application via our API, and can pass standard and custom fields. These fields, especially the custom properties, which will help with segmentation and deep insights.
- ID: User ID of your user that is the unique identifier in your application – Field is optional
- First Name: First name of your user – Field is required
- Last Name: Last name of your user – Field is optional
- Email: Email of your user – Field is required
- Avatar URL: URL of the profile picture of your user – Field is optional
- Properties: Customizable users attributes for each user. Multiple are supported, and optional
curl -X POST http://app.cloudmattr.com/api/v1/users \
-H "Accept: application/json" -H "Content-Type: application/json" \
-H "Authorization: YOUR_API_KEY"
{
"id": "asdf1234",
"first_name": "Michael",
"last_name": "Scott",
"email": "mscott@dundermifflin.com",
"avatar_url": "https://mybucket.s3.amazonaws.com/myfolder/afile.jpg",
"properties": {
"title": "Regional Manager",
"subscription_name": "Pro Plan"
}
}