Skip to main content
POST
Create an app install's notification settings

Authorizations

X-API-KEY
string
header
required

Path Parameters

installId
string
required

Unique identifier of the app install

Body

application/json

Notification settings to create

notifications
object[]
required

Notifications is the app's initial list of notification settings.

Required array length: 1 - 50 elements
actionLabel
object

ActionLabel optionally declares the app's generic "[verb] [count] [noun]" label.

Response

OK

actionLabel
object

ActionLabel is the app's generic "[verb] [count] [noun]" label, present only when declared.

notifications
object[]

Notifications is every notification setting the app exposes for this install. Empty when the install's backing app declares no settings. A setting's id is the value to pass as notificationSettingId when creating a notification via POST /v1/notifications. If the recipient's preferences disable every requested delivery target for a setting, that POST creates nothing and returns 202.

object
string
Example:

"notificationSettings"