We want to send a push only to the users currently living in X country. How do we do that?
Our Default Tag called "Country" can do the trick! If you are planning to send those pushes frequently, we recommend to create a Filter first - this way there will be no need to specify the conditions of this push every time you want to send it.
The filter could be created in the corresponding "Filters" tab:
Then press "Add filter" button and fill the conditions like the following (of course, choosing the country you want to target):
After that, you can use this filter while sending the pushes from both Control Panel and Remote API.
Proceed to the "Send Push" form, make all the necessary adjustments to the content of the push you are willing to send, then pick the filter you've created:
Simply add the following line to your `/createMessage` request:
Please make sure to correctly specify the name of your filter as a value.