Associate Customer User ID with AF User ID

On associating a CUID with a visitor to your website. For example, any time you match the web afUserId with your customer user ID. Doing so enables PBA to match data from various sources.
This is similar to setCustomerUserId on the website.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The bundle ID for which the user ID(s) is to be set.

Body Params
string
required

Customer user ID (CUID) is a unique identifier set by you.

  • Use the identical identifier for events reported by any means to AppsFlyer. Meaning the same identifier is used in the Web SDK, mobile SDK, and S2S APIs.
  • Web SDK customer user ID
  • Populates raw data field: customer_user_id
string
required

The unique user ID assigned by the Web SDK to every user that visits your website. You will need to pass the cookie value to your backend servers.

  • Cookie details:
    • Name: afUserId
    • Value: set afUserId to this value
    • Domain: website-domain
  • Populates raw data field: af_web_id
string
required

Populate using the web dev key available on the Dashboard.

To get the Web Dev Key:

  1. In AppsFlyer, go to the My Apps tab
  2. Click View brand bundles
  3. Copy the required Web Dev Key
Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json