Get the subscriber count in one or more tags.
JSON Request Example:
*/
{
"username": "john.doe@xxxxx.com",
"usertoken": "abc123abc123abc123abc123abc123",
"requesttype": "Tags",
"requestmethod": "GetTagSubscriberCount",
"details": {
"tag": ["{*include_tag_id*}", "{*include_tag_id*}"], /* required: at least one */
"status": "{*status: any|active|inactive|bounced|unsubscribed*}" /* optional: default any */
}
}"json_request" element
| Field Name | Description |
| username | Username used to login to Pinpointe |
| usertoken | Unique token assigned to Pinpointe account |
| requesttype | Tags |
| requestmethod | GetTagSubscriberCount |
"details" element
| Field Name | Description |
| tag (Required if name is not used) | ID of tag(s) to be searched. At least one required. |
| status | Select from the options provided to search for contacts with that status (any, active, inactive, bounced, unsubscribed) |
| tagname (Required if tag is not used) | Find the tag mailing list with this name. |
Successful Response:
"response" element
| Field Name | Description |
| status | Will return SUCCESS if call is successful |
| data | Subscriber count found in specified tag(s) |
Unsuccessful Response:
"response" element
| Field Name | Description |
| status | Will return FAILED if unsuccessful |
| errormessage | Text explaining why request failed |