REST API: iOS Behaviors: Create
This endpoint creates a notification iOS behavior for a specific application.
POST API url -> /v1/notifications/ios-behaviors
Body Parameters
The following body parameters are possible:
| Field | Type | Description | Required |
|---|---|---|---|
| appId | String | Application id | ✅ |
| name | String | Name | ✅ |
| description | Description for internal use | Description for internal use | ✅ |
| bypassDND | Boolean | Sets whether or not notifications can interrupt the user in Do Not Disturb mode. | ✅ |
| interruptionLevel | String | The notification’s importance and required delivery timing. Accepted values: • passive - The system adds the notification to the notification list without lighting up the screen or playing a sound. • active - The system presents the notification immediately, lights up the screen, and can play a sound. • critical - The system presents the notification immediately, lights up the screen, and bypasses the mute switch to play a sound. • time-sensitive - The system presents the notification immediately, lights up the screen, can play a sound, and breaks through system notification controls. interruptionLevel uses the same semantics as APNS Interruption Level. See the APNS Interruption Level |
✅ |
Response Examples
Returns behavior id or error message