Skip to main content

Bulk-identify

Add user properties to a group of users.

Example

curl -X POST "https://api.commandbar.com/api/{YOUR_ORG_ID}/bulk-identify/" 
-H "Content-Type: application/json"
-H "X-API-KEY: {YOUR_ACCESS_TOKEN}"
-d '[
{
"id": "1",
"properties": {
"animal": "dog"
}
},
{
"id": "2",
"properties": {
"animal": "cat"
}
}
]'

Endpoint parameters

The body must be an array of objects containing the user id to update and an object of properties to update. It must be valid JSON.

id Required

string

User ID. Make sure this is the same ID you provide to the boot SDK method.

properties

object

Properties you want to attach to the user.