Comments

1 comment

  • Avatar
    Kirill Konev

    Hi,

    The syntax for dynamic content is the same as in the UI, so the basic request that processes values, for instance, of the "Name" and "City" tags should be as follows:

    {
    "request":{
    "application":"PW_APP_CODE",
    "auth":"API_ACCESS_TOKEN",
    "notifications":[
    {
    "send_date":"now",
    "ignore_user_timezone": true,
    "content":"Hey {Name|CapitalizeFirst|friend}, how's the weather in {City|CapitalizeFirst|your city}?​",
    "platforms": [1]
    }
    ]
    }
    }
    

Please sign in to leave a comment.