One Endpoint, Multiple ActionTypes
The User Action API accepts events through the existing Person/Action service route. The documentation title does not rename the service. An ActionKey selects the configured ActionType; there is no free-form ActionType selector in the request body.
POST
https://api.intelligenthandshake.com/v1/Person/Action.{dotType}/{APIKey}/{*parameters}
Use Content-Type: application/json for the JSON request examples. Response format selectors are json and xml. All examples below use JSON.
Authentication
The API key authorizes access; ActionKeyToken identifies the provisioned action and its context. Request the appropriate scope and ActionKey type before sending live data. Keep server-only private keys out of browser code, source control, and request logs.
See API Keys and Getting Started.
URL Parameters
| Parameter Name |
Data Type |
Description |
| dotType |
string |
Response format type
xml
json
|
| APIKey |
APIKey |
API access key |
| parameters |
string |
/?Name1=Value1&Name2=Value2&NameN=ValueN
URL = destination URL (required according to the selected ActionType)
UA = UserAgent*
FRR = Referer*
LAT = Latitude coordinate of the person's location
LON = Longitude coordinate of the person's location
MAC = MAC Address
DID = Device UID
TSC = Tracking Source
TMD = Tracking Medium
TCM = Tracking Campaign
TCN = Tracking Content
TTM = Tracking Term
* Parameter values can be Base64-encoded when enclosed in square brackets.
P=[aHR0Ly9kZXZlLmNvbQ==]
|
Request Body
Send the action object itself as the JSON body, not a literal "Action" wrapper. Each Values entry identifies a signal and its value.
{
"ActionKeyToken": "YOUR_ACTION_KEY",
"Values": [
{
"SignalValueType": 419,
"DataType": 0,
"UnitType": 0,
"Value": "https://brand.example.com/product",
"OptionIDs": {}
}
]
}
| Property | Meaning |
|---|
| ActionKeyToken | Provisioned ActionKey token. Its type and scope must match the operation. |
| Values | List of signal-value objects applicable to that ActionType. |
| SignalValueType | Numeric signal identifier, such as 419 for the session landing URL. |
| Value | Serialized signal value; preserve the expected field format. |
| DataType / UnitType | Metadata describing representation and unit. The examples use 0 for the existing inferred/default representation; use agreed explicit values when required. |
| OptionIDs | Optional signal options. The Explorer supplies an empty object when no options are selected. |
This request illustrates WebVisit context; it is not a universal field set. See Action Fields and the selected ActionType guide.
Response
The example below illustrates a configured scoring response. Fields and signal sets vary by action and model; a Disposition acknowledgement need not return a new IH Score.
{
"Result": {
"Code": 0,
"Message": "Illustrative result"
},
"PlaceID": 26033,
"Signal": {
"Values": [
{
"SignalValueType": 49,
"DataType": 1,
"UnitType": 0,
"Value": "M",
"OptionIDs": {}
}
]
}
}
Inspect Result.Code and Result.Message as well as the HTTP status. Interpret returned signals using the configured model; IH Scores documents the standard score codes. Do not assume a field is always present or treat missing signals as successful scoring.
Errors, Retries, and Correlation
Distinguish connection failures, HTTP errors, API results, and business outcomes. A timeout may occur after an event was received; check the agreed retry strategy and preserve event identity rather than generating a fresh event on each retry.
For Disposition, follow its explicit and implicit session correlation rules. Those rules are not a blanket idempotency guarantee for every ActionType. See API Results and Errors.