Overview
Use the API described below to link two different identifiers from within your application. The hostname for the API can be retrieved by clicking the App from within Snowflake: Data Products > Apps > Winning Variant Experimentation. The hostname for “Variant API” is the one you’ll use.Identifier Link
POST /id-link
Use this endpoint to link two different identifiers.
Request Body
The request accepts a JSON-formatted body with the following parameters:Identifier
The identifer object in the body includes the following properties:
Response
Upon success, returns a200 status code with response { "success": true }.
Examples
Link an anonymous ID to a customer ID In this example, we link an ID for subject typeANONYMOUS_ID to an ID for subject type CUSTOMER_ID (both subject types already exist).