Web Users

Update existing web user

Updates an existing web user by firebaseUid or webUserId. Used for progressive persistence.

put/v1/web-users

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/web-users
  • Auth
    HTTP bearer

Headers

originstring required

Request body

webUserIdstring
firebaseUidstring
emailstring
funnelAnswersobject
amplitudeDeviceIdstring
facebookPixelIdstring
sessionsCountnumber
localestring

Current UI locale (2-letter code). Re-sent when the visitor switches language on the funnel so emails follow the latest choice

adMetadataobject

Ad/campaign metadata - all URL query params from ad links (e.g. campaign_id, adset_id, ad_id, affid, _subid, _token, etc.)

experimentsobject

A/B test experiment assignments (experimentId -> assignment)

Response

Web user updated successfully

webUserIdstring required
createdboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.