Create an AlertAsk AIpost https://api.ec.simpplr.com/api/alertsUse this API to create a new Alert.Body ParamsmessagestringrequiredDefaults to This is an alert messageThe Alert message to be displayed on the pop updisplay-fromstringrequiredDefaults to 2022-02-12T00:00:00+05:30Time from which this Alert should be displayed. Format : YYYY-MM-DDTH:mm:ss+05:30display-tostringrequiredDefaults to 2022-03-12T00:00:00+05:30Time till which the Alert should be displayed. By default it will be 24 hours from the display-from value. Format: YYYY-MM-DDTH:mm:ss+05:30segment-idstringDefaults to nullID of the Segment in which this Alert should be created. Note: Will work only if Segmentation is enabled for your orgis-dismissiblebooleanrequiredDefaults to falsetrue: The Alert can be dismissed by users. false: The Alert cannot be dismissed by users.truefalsemembers-typestringenumDefaults to site_membersWhich group of members should this Alert be displayed to. Note: Applicable only if the recipient is set as Sitesite_memberssite_members_and_followersAllowed:site_memberssite_members_and_followershas-urlbooleanrequiredDefaults to falseWill this Alert have a hyperlink to redirect the users to a particular pagetruefalseurlstringTarget link for the Alert (REQUIRED if has-url is true)recipientstringenumrequiredDefaults to siteRecipient group for this AlerteveryoneaudiencesitesegmentAllowed:everyoneaudiencesitesegmentsite-idstringID of the target site (If recipient is chosen as site)audience-idstringAudience IDaudience-countint32Audience CountHeadersx-user-emailstringrequiredUser's email to login into SalesforceResponses 200200 400400 401401Updated 10 months ago