Is it possible to create and send in-app messaging through rest api?

Hi Team,

I am working on a use case in which we are trying to implement In-app messaging in android and ios app. I have gone through below API Documentation https://docs.airship.com/api/ua/#schemas/inappobject and couldn't find a way on how to trigger(send) in-app messaging through API


After integrating airship SDK,
1) Can we create and trigger In-app messaging by uploading payloads through a REST API?
2) Can we upload a CSV with User Attribute and hit a personalized in-app messaging through API

Regards,
Shridhar

Didn't find what you were looking for?

New post

Comments

2 comments

  • Hello Shridhar,

    1) Yes you can, example below (more information can be found here - https://docs.airship.com/api/ua/#schemas/inappobject):

    { "audience": "all", "device_types": [ "ios", "android" ], "notification": { "alert": "some text" }, "in_app": { "alert": "This part appears in-app!", "display_type": "banner", "expiry": "2020-11-01T12:00:00", "display": { "position": "top" }, "actions": { "add_tag": "in-app" } } }

    2) No, you can't upload a CSV through the API to personalize the in-app message

    Thank you and regards,

    Chilun Liu

    Airship Support

    1
  • Hi Chilun,

    Thanks for the response.

    Can you please let me know the API from which i can trigger(send) in-app messaging through rest api?

    above link just contain payload

    Regards,

    Shridhar

    0

Please sign in to leave a comment.