I was unable to find Java client API or CURL command for Inactivity trigger.
Can any one provide the Java API and curl command for Inactivity trigger.
Java client API or CURL command for Inactivity trigger?
Didn't find what you were looking for?New post
Please sign in to leave a comment.
While the automation API isn't currently supported by the Java library, you can create a cURL command for an inactivity trigger. An inactivity trigger is a historical object, which you can find more information about here:
The complete cURL command would look something like this:
This particular command creates an inactivity trigger that sends a notification if a user hasn't opened your application in thirty days, but you can specify it to be anywhere up to 90 days. For more examples of API requests, you can view this topic guide: http://docs.urbanairship.com/topic-guides/api-examples.html#automation. I hope this helps!