Create an Alert

Use this API to create a new Alert.

Body Params
string
required
Defaults to This is an alert message

The Alert message to be displayed on the pop up

string
required
Defaults to 2022-02-12T00:00:00+05:30

Time from which this Alert should be displayed. Format : YYYY-MM-DDTH:mm:ss+05:30

string
required
Defaults to 2022-03-12T00:00:00+05:30

Time 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:30

string
Defaults to null

ID of the Segment in which this Alert should be created. Note: Will work only if Segmentation is enabled for your org

boolean
required
Defaults to false

true: The Alert can be dismissed by users. false: The Alert cannot be dismissed by users.

string
enum
Defaults to site_members

Which group of members should this Alert be displayed to. Note: Applicable only if the recipient is set as Site

Allowed:
boolean
required
Defaults to false

Will this Alert have a hyperlink to redirect the users to a particular page

string

Target link for the Alert (REQUIRED if has-url is true)

string
enum
required
Defaults to site

Recipient group for this Alert

Allowed:
string

ID of the target site (If recipient is chosen as site)

string

Audience ID

int32

Audience Count

Headers
string
required

User's email to login into Salesforce

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
© Simpplr Inc, 2026. All rights reserved.