Skip to main content
PUT
/
api
/
v3
/
network-settings
/
push-notification
Update push notification configuration
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings/push-notification \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "iOSMutableContent": true,
  "notifyWhenLiveStart": true
}'
{
  "iOSMutableContent": true,
  "notifyWhenLiveStart": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Information for push notification network setting

iOSMutableContent
boolean

Enable or disable iOS mutable content for push notifications

notifyWhenLiveStart
boolean
default:true

Whether to immedieatly sent a push notification when the stream is started (true), or sent a push notificaiton when the stream is attached to a post (false)

Response

Push notification configuration

iOSMutableContent
boolean

Enable or disable iOS mutable content for push notifications

notifyWhenLiveStart
boolean

Whether to immedieatly sent a push notification when the stream is started (true), or sent a push notificaiton when the stream is attached to a post (false)