Sample Native PHP Script to send message for several possibilites

Answered

Comments

2 comments

  • Avatar
    Ivan Skoritzky
    0
    Comment actions Permalink

    Hello Wahyu,

    Please take a look at our Guide, where you will find all possible parameters for API request and PHP snippet:

    https://www.pushwoosh.com/v1.0/reference#section-createmessage-snippets

    Without specifying 'devices' or 'users' parameter, your message will be sent out to all users.

    On the other hand, you can add push tokens or hwids to 'devices' parameter (no more than 1000 in the array) to target specific users. If you have set user id to them, you can target devices using 'users' parameter.

    To segment you auditory, you should use 'conditions' based on your needs. Or you can pre-create some filter in your Control Panel, and use 'filter' parameter with entering filter name as a value.

    Regards,

    Ivan

  • Avatar
    Wahyu Kurniawan
    0
    Comment actions Permalink

    Hi Ivan

    Thank you for your message
    I have solved this issues as well, I'm using Tags to solve this problem
    It can send notification directly to some groups that I want from the app, thanks for providing this tag feature!
     
    Regards
    Wahyu

Please sign in to leave a comment.