Push User Activity


Request Details

Item Value
Description Sends information about activity events for a member to a client specified endpoint.
Method POST
Endpoint Client provided, must begin with https://


Request Body

Field Name Sample Value Required Format Description
activityId 198 Y Integer CrowdTwist activity ID
activityName added gender Y String Name of the activity performed
numPoints 1000 Y String Number of points earned for the activity; positive for any added activity, negative for reward redeemed
notes null N String Notes related to the activity performed
referenceId 0 N Long CrowdTwist reference ID
thirdPartyId null N String Member’s third party ID
dateCreated 1438039473 Y String Date/time the activity occurred (unix timestamp)
userId 101 Y Long CrowdTwist user ID
userName johndoe23   String Member’s username in CrowdTwist
userEmailAddress johndoe@gmail.com Y String Member’s email address
userMobilePhone null N String Member’s phone number
userActivityId 12348765 Y Long Unique ID for the activity for the user.


Sample Request

{
  "numPoints": 1000,
  "activityId": 198,
  "thirdPartyId": null,
  "userActivityId": 102,
  "notes": null,
  "dateCreated": "1438039473",
  "activityName": "added gender",
  "userEmailAddress": "johndoe@gmail.com",
  "userMobilePhone": null,
  "userName": "johndoe23",
  "userId": 101,
  "referenceId": 0
}
{
  "numPoints": 1000,
  "activityId": 198,
  "thirdPartyId": null,
  "userActivityId": 102,
  "notes": null,
  "dateCreated": "1438039473",
  "activityName": "added gender",
  "userEmailAddress": "johndoe@gmail.com",
  "userMobilePhone": null,
  "userName": "johndoe23",
  "userId": 101,
  "referenceId": 0
}