Summary
This API request would provide a list of historical updates for any user/account level attribute.
Resource Information
Request Type: GET
Response Format: JSON
Headers
- useriq-api-key (required): Your valid API key generated from the Site settings page
Parameters
- type - Either `account` or `user`, whatever the uid you're sending over is in reference to
- uid - the account_id or user_id
- column - The specific column for the trend you're wanting to see
Example cURL Request:
curl \
-H "Content-type: application/json" \
-H "useriq-api-key: 572d7372829a3211a73d9c2cb790ffe3" \
https://api.useriq.com/api/1.0/integrations/sfdc_trend_data?type=account&uid=abc123&column=account_subscription_status
Example Result
{
data: [
{
"uid": "abc123",
"uiq_column": "account_subscription_status",
"value": "the_value",
"first_timestamp": "###",
"latest_timestamp": "###"
},
{ ... }
]
}
Response Codes
200: OK. Request processed successfully
400: Bad Request. API request could not be understood by the server.
401: Unauthorized. Invalid API access token.
Comments
0 comments
Please sign in to leave a comment.