a686fddb4e0c
OpenAPI 3.1.12026-08-10130601.0 MBCreate / Update Users
API to upsert (create if not exists, update if exists) user profile using a distinct_id.
post/v1/user/{distinct_id}/
Path parameters
distinct_idstring required
Unique identifier of the user in your system
Request body
Example request
{
"$slack": [
{
"email": "user@example.com",
"access_token": "xoxb-XXXXXXXX"
}
],
"$ms_teams": [
{
"tenant_id": "c1981ab2-9aaf-xxxx-xxxx",
"service_url": "https://smba.trafficmanager.net/amer",
"conversation_id": "19:c1524d7c-a06f-456f-8abe-xxxx"
}
],
"$timezone": "America/New_York",
"$locale": "en_GB"
}Response
201
Example response
{
"distinct_id": "_distinct_id_",
"created_at": "2025-04-04T09:55:12.397Z",
"updated_at": "2025-04-04T09:55:12.422Z",
"$<channel>": [
{
"status": "active"
}
]
}