Create or update profiles (sync)

Upserts up to 200 profiles from a batch of events (max 50 identify events, 50 unique profiles); returns profiles only — no experiences or changes. Intended for server-side use and does not resolve location or IP address.

Path parameters

environmentSlugstringRequiredDefaults to main
The slug of the environment of the profile to retrieve
organizationIdstringRequired
The ID of the organization of the profile to retrieve

Query parameters

localestringOptionalDefaults to en

An ISO 639-1 language code used for experience evaluation.

Request

This endpoint expects an object.

Response

Successful response

Errors

400
Bad Request Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error