Users
Identify user
Create or update a user with the provided identification data. When you identify an existing user, the system merges the properties you specific with what is currently set on the user, updating only the fields included in your requests.
put/v1/users/{user_id}
Path parameters
user_idstring required
The unique identifier of the user.
Request body
Example request
{
"channel_data": {
"97c5837d-c65c-4d54-aa39-080eeb81c69d": {
"tokens": [
"push_token_123"
]
}
},
"email": "ian.malcolm@chaos.theory",
"name": "Dr. Ian Malcolm",
"preferences": {
"default": {
"channel_types": {
"email": true
},
"workflows": {
"dinosaurs-loose": {
"channel_types": {
"email": true
}
}
}
}
},
"timezone": "America/New_York"
}Response
OK
Example response
{
"__typename": "User",
"created_at": null,
"email": "ian.malcolm@chaos.theory",
"id": "user_id",
"name": "Dr. Ian Malcolm",
"updated_at": "2024-05-22T12:00:00Z"
}