# Preset properties map

| Preset property    <div style="width:50px"></div>                                                                          | getPreset key  <div style="width:50px"></div>                                        | createPreset key     <div style="width:50px"></div>                                     | Value examples    <div style="width:50px"></div>                                                                                                                  |
| --------------------------------------------------------------------------------------- | ------------------------------------------------- | ---------------------------------------------------- |--------------------------------------------------------------------------------------------------------------------------------|
| Preset name                                                                             | preset.name                                       | name                                                 | "20% discount"                                                                                                                 |
| Push title (use JSON object for multilanguage; multilanguage titles are cross-platform) | preset.title                                      | content.title                                        | string or object                                                                                                               |
| Localized push title                                                                    | preset.title.en / preset.title.fr/de/es, etc.     | content.title.en / content.title.fr/de/es, etc.      | "Hi there"                                                                                                                     |
| Push subtitle (same for all platforms)                                                  | preset.subtitle                                   | content.subtitle                                     | "Don't miss out"                                                                                                               |
| Push content (use JSON object for multilanguage)                                        | preset.content                                    | content.message                                      | string or object                                                                                                               |
| Localized push content                                                                  | preset.content.en / preset.content.fr/de/es, etc. | content.message.en / content.message.fr/de/es, etc.  | "Get your 20% discount right now"                                                                                              |
| Preset properties                                                                       | preset.properties                                 | -                                                    | -                                                                                                                              |
| Target Segment name (Filter name)                                                       | preset.properties.filter\_name                    | segmentation.filter                                  | "Purchased something"                                                                                                          |
| Send rate limit                                                                         | preset.properties.send\_rate                      | scheduling.sendRate                                  | 1000                                                                                                                           |
| Action to be performed by tap on a push                                                 | preset.properties.action\_type                    | content.action.type                                  | "deeplink", "richMedia", "url"                                                                                                 |
| Code of the Rich Media to be opened by tap on a push                                    | preset.properties.rich\_media\_code               | content.action.options.richMediaCode                 | "12345-67890"                                                                                                                  |
| URL to be opened by tap on a push                                                       | preset.properties.url                             | content.action.options.url                           | `https://example.com`                                                                                                            |
| Deep Link ID to open a specific page                                                    | preset.properties.deeplinkUid                     | content.action.options.id                            | "33482"                                                                                                                        |
| Deep Link params                                                                        | -                                                 | content.action.options.params                        | `{"param1" : "value1"}`                                                                                                          |
| Deep Link params                                                                        | preset.properties.deeplinkParams                  | content.action.options.params.param1                 | `{"promo_id":"id"}`                                                                                                              |
| Custom data                                                                             | preset.properties.userdata                        | content.userData                                     | `{"key" : "value"}`                                                                                                              |
| iOS badge                                                                               | preset.properties.ios\_badge                      | content.platforms.ios.badge                          | "0"                                                                                                                            |
| iOS mute                                                                                | preset.properties.ios\_sound\_off                 | content.platforms.ios.soundOff                       | true/false                                                                                                                     |
| iOS custom sound                                                                        | preset.properties.ios\_sound                      | content.platforms.ios.sound                          | "bubble.wav"                                                                                                                   |
| iOS Time-to-Live                                                                        | preset.properties.ios\_ttl                        | content.platforms.ios.ttl                            | 43200                                                                                                                          |
| iOS title (not multilanguage)                                                           | preset.properties.ios\_title                      | content.platforms.ios.title                          | "Hi there"                                                                                                                     |
| iOS subtitle                                                                            | preset.properties.ios\_subtitle                   | content.platforms.ios.subtitle                       | "Don't miss out"                                                                                                               |
| iOS root params                                                                         | preset.properties.ios\_root\_params               | content.platforms.ios.rootParams                     | `{"key" : "value"}`                                                                                                              |
| iOS interruption level                                                                  | preset.properties.ios\_interruption\_level        | content.platforms.ios.interruptionLevel              | "critical", "time-sensitive", "passive", "active"                                                                              |
| iOS Media Attachment                                                                    | preset.properties.ios\_attachment                 | content.platforms.ios.attachment                     | `https://example.com`                                                                                                           |
| iOS silent push                                                                         | preset.properties.ios\_silent                     | content.platforms.ios.silent                         | true/false                                                                                                                     |
| Android badge                                                                           | preset.properties.android\_badges                 | content.platforms.android.badge                      | "0"                                                                                                                            |
| Android mute                                                                            | preset.properties.android\_sound\_off             | content.platforms.android.soundOff                   | true/false                                                                                                                     |
| Android custom sound                                                                    | preset.properties.android\_sound                  | content.platforms.android.sound                      | "bubbles.wav"                                                                                                                  |
| Android custom icon                                                                     | preset.properties.android\_custom\_icon           | content.platforms.android.customIcon                 | `https://example.com`                                                                                                            |
| Android title (not multilanguage)                                                       | preset.properties.android\_header                 | content.platforms.android.header                     | "Hi there"                                                                                                                     |
| Android Time-to-Live                                                                    | preset.properties.android\_gcm\_ttl               | content.platforms.android.ttl                        | 43200                                                                                                                          |
| Android banner                                                                          | preset.properties.android\_banner                 | content.platforms.android.banner                     | `https://example.com`                                                                                                            |
| Android force vibration                                                                 | preset.properties.android\_vibration              | content.platforms.android.vibration                  | true/false                                                                                                                     |
| Android LED color                                                                       | preset.properties.android\_led                    | content.platforms.android.led                        | "#FFFFFF"                                                                                                                      |
| Android priority                                                                        | preset.properties.android\_priority               | content.platforms.android.priority                   | -2, -1, 0, 1, 2                                                                                                                |
| Android root params                                                                     | preset.properties.android\_root\_params           | content.platforms.android.rootParams                 | `{"key" : "value"}`                                                                                                              |
| Android delivery priority                                                               | preset.properties.android\_delivery\_priority     | content.platforms.android.deliveryPriority           | "normal", "high"                                                                                                               |
| Android image background color                                                          | preset.properties.android\_ibc                    | content.platforms.android.ibc                        | "#FFFFFF"                                                                                                                      |
| Android show-on-lockscreen                                                              | preset.properties.android\_lockscreen             | content.platforms.android.lockScreen                 | true/false                                                                                                                     |
| Android silent push                                                                     | preset.properties.android\_silent                 | content.platforms.android.silent                     | true/false                                                                                                                     |
| Safari title (not multilanguage)                                                        | preset.properties.safari\_title                   | content.platforms.safari.title                       | "Hi there"                                                                                                                     |
| Safari button                                                                           | preset.properties.safari\_action                  | content.platforms.safari.action                      | "Click here"                                                                                                                   |
| Safari button params                                                                    | preset.properties.safari\_url\_args               | content.platforms.safari.urlArgs                     | `["firstArgument", "secondArgument"]`                                                                                          |
| Safari Time-to-Live                                                                     | preset.properties.safari\_ttl                     | content.platforms.safari.ttl                         | 43200                                                                                                                          |
| Chrome title (not multilanguage)                                                        | preset.properties.chrome\_header                  | content.platforms.chrome.title                       | "Hi there"                                                                                                                     |
| Chrome custom icon                                                                      | preset.properties.chrome\_icon                    | content.platforms.chrome.icon                        | `https://example.com`                                                                                                            |
| Chrome Time-to-Live                                                                     | preset.properties.chrome\_gcm\_ttl                | content.platforms.chrome.ttl                         | 43200                                                                                                                          |
| Chrome push display duration                                                            | preset.properties.chrome\_duration                | content.platforms.chrome.duration                    | 50                                                                                                                             |
| Chrome push image                                                                       | preset.properties.chrome\_image                   | content.platforms.chrome.image                       | `https://example.com`                                                                                                            |
| Chrome button params                                                                    | -                                                 | content.platforms.chrome.button1                     | `{"text" : "Learn more", "url" : "https://example.com"}`                                                                        |
| Chrome first button text                                                                | preset.properties.chrome\_button\_text1           | content.platforms.chrome.button1.text                | "Learn more"                                                                                                                   |
| Chrome first button URL                                                                 | preset.properties.chrome\_button\_url1            | content.platforms.chrome.button1.url                 | `https://example.com`                                                                                                            |
| Chrome second button text                                                               | preset.properties.chrome\_button\_text2           | content.platforms.chrome.button2.text                | "Later"                                                                                                                        |
| Chrome second button URL                                                                | preset.properties.chrome\_button\_url2            | content.platforms.chrome.button2.url                 | `https://example.com`                                                                                                            |
| Firefox title (not multilanguage)                                                       | preset.properties.firefox\_header                 | content.platforms.firefox.title                      | "Hi there"                                                                                                                     |
| Firefox custom icon                                                                     | preset.properties.firefox\_icon                   | content.platforms.firefox.icon                       | `https://example.com`                                                                                                            |
| Campaign code                                                                           | preset.properties.campaign\_code                  | campaignCode                                         | "12345-67890"                                                                                                                  |
| Target platforms                                                                        | preset.platforms                                  | segmentation.platforms                               | 1 — iOS; 3 — Android; 7 — Mac OS X; 8 — Windows; 9 — Amazon; 10 — Safari; 11 — Chrome; 12 — Firefox; 17 — Huawei. |