Create and Update Notification Content
This activity shows you how to create and update content for different types of notifications.
Prerequisites
Get an access token from the worker application that you created in Create an admin Worker app connection. To get a token from a different worker application in an alternate sandbox environment, run the token request endpoint using the client ID and client secret of your chosen worker app to authenticate the request. For more information, refer to Get a PingOne admin access token.
Workflow order of operations
To create and update content for different types of notifications:
-
Make a
GETrequest to/environments/{{envID}}/templatesto read all notification templates. -
Make a
POSTrequest to/environments/{{envID}}/templates/general/contentsto create email notification content. -
Make a
PUTrequest to/environments/{{envID}}/templates/general/contents/{{emailContentID}}to update the email notification content. -
Make a
POSTrequest to/environments/{{envID}}/templates/general/contentsto create SMS notification content. -
Make a
PUTrequest to/environments/{{envID}}/templates/general/contents/{{smsContentID}}to update the SMS notification content. -
Make a
POSTrequest to/environments/{{envID}}/templates/general/contentsto create voice notification content. -
Make a
PUTrequest to/environments/{{envID}}/templates/general/contents/{{voiceContentID}}to update the voice notification content. -
Make a
POSTrequest to/environments/{{envID}}/templates/transaction/contentsto create push notification content. -
Make a
PUTrequest to/environments/{{envID}}/templates/transaction/contents/{{pushContentID}}to update the push notification content. -
Make a
GETrequest to/environments/{{envID}}/templates/general/contentsto read all general template notification content. -
Make a
GETrequest to/environments/{{envID}}/templates/transaction/contents/{{pushContentID}}to read only push notification content.
Click the Run in Postman button below to fork, or download and import, the Postman collection for this workflow to your workspace.