The following macros are not currently supported in the header:
  • style

Count activity interacts

Count the number of recipients against an activity

GET /activities/:id/interacts/count

GET /activities/:id/recipients/count is now deprecated

This endpoint replaced the now deprecated recipients endpoint. Please start using the interacts endpoint. In the near future the recipients endpoint will cease to work.

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples.

countunsigned intThe total number of objects found at the end of the resource.

Sample Response

GET /activities/:id/recipients/count.json
{
   "response" : {
      "count" : "265"
   },
   "meta" : {
      "status" : "ok",
      "message" : "Everything executed as expected."
   }
}