Get Record ID Based on Cookie

GET https://restapi.actonsoftware.com/api/1/list/lookup?cookie={cookieid}

This endpoint allows you to pull the record ID using the records cookie ID.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
cookie Query False Required String Specify the cookie content value of the record.

Parameter Notes

cookie

The cookie content value is stored in the “wp{account #}” cookie created in the visitor’s browser by the beacon tracking code.

Alternatively, “ActOn.Beacon.cookie[{Account #}]” is a code that can be run on a page that contains the Act-On beacon code to return the cookie content value. Please note this does not work on an Act-On landing page.

Response

{
  "recipient_id": "l-0001:0"
}

 

Code Examples

curl -X GET https://restapi.actonsoftware.com/api/1/list/lookup?cookie=XVXUYDs-TTTU:TDMhktDLBLUKHYK-MYYM-XYTZ-CCAK-WBIMUXABVAVZ:K-TTTVDDDTTTTJCDTWCYBHWL-HUXI-XMXU-HIHL-UYZTLULTWLTKDHJmhglLkOpJL_JhtD -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"