Identifying accounts and account traits
Groups endpoint
To create accounts and record account traits, send a POST request to https://in.sherlockscore.com/v1/groups with a JSON payload containing:
api_key
: your Sherlock API keygroup_id
: identifier of the group (must be a string)traits
: object containing key/value pairs of traitstimestamp
: a unix timestamp in milliseconds, indicating the time at which the traits are current
The API will respond with a 202 Accepted
if the request was accepted.
Example cURL request:
$ curl -XPOST https://in.sherlockscore.com/v1/groups \
-H 'Content-Type: application/json' \
-d '{"api_key":"xyzzy","group_id":"12345","traits":{"name":"Nike","mrr":3000},"timestamp":1553647710707}'
Updated about 4 years ago