Developers

Subscription API

run_filter


URL:

http://api.msgme.com/v1/subscriptions/run_filter

METHOD:

POST

DESCRIPTION:

Filters a subscription keyword using meta-data fields and returns a count of subscribers matching those fields.

PARAMETERS:

Parameter Description
accountId The account ID that owns the keyword to be queried on.
keywordId The ID of the keyword that the filters are associated with.
field Required. Wrapped by fields element.
Required attributes: id, and value. The id is the meta-data field's id, which can be obtained by calling get_custom_fields API method.
If more than one value is to be applied per field, separate each value by commas.


API REQUEST:

		
			
				
					
					...
				
			
	


API RESPONSE:

		<?xml version="1.0" encoding="UTF-8"?>
			
				
			


EXAMPLE USAGE:


REQUEST:

		
			
				
					
					
					
					
				
			
		

RESPONSE:

		<?xml version="1.0" encoding="UTF-8"?>
		
			0