Skip to main content
POST
/
admin
/
notify-template
/
editor-preview
Get Preview for Notify Template Editor Text
curl --request POST \
  --url https://api.example.com/admin/notify-template/editor-preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "languageIDs": [
    1,
    2,
    3,
    4,
    5,
    6
  ],
  "texts": [
    "[Phrase:12] [Iser:FirstName]! Ism: [Ism:Text] is Trending!",
    "[Ism:Text] is Trending!",
    "[Phrase:33]"
  ],
  "forViewingInLanguageID": 1
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
languageIDs
integer<int32>[]
required

an integer array of language IDs to be used when performing the merge.

texts
string[]
required

a string array of text values to be merged.

forViewingInLanguageID
integer<int32> | null
default:1

the language that the caller wishes to review the merge in. This changes the word of the language itself in the result data.

Response

Success

success
boolean
data
unknown