This feature is available only with paid Kochava accounts. Contact us to learn more.
Joining User Identity to Devices
Kochava provides an API to support the linkage between a user device and their identity in your application. This feature is referred to as the IdentityLink™ in Kochava. Use the following API to accomplish this objective.
Send the following JSON as HTTP POST to the following URL endpoint:
http://control.kochava.com/v1/cpi/identityLink.php
Available Parameters:
URL Parameter | Example Value | Description | Req. |
---|---|---|---|
kochava_app_id | kogamerdna114e9bb34812587 | This is the unique application ID used to represent the App. | Yes |
device_id | idfa:A6334005-9019-46BB-9659-74FD0BD33585 | An object of name-value pairs for identifiers of the device. | Yes |
data | app_userid (“identity string”) fb_userid (“identity string”) |
Name-value pair object of data that can be sent upon the IdentityLink™ action. | Yes |
{
"kochava_app_id": "kogamerdna114e9bb34812587",
"device_id": {
"idfa": "A6334005-9019-46BB-9659-74FD0BD33585"
},
"device_hash_method": {
"idfa": "md5"
},
"data": {
"SGID": "2718281828"
}
}