v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Upsert a push notification template

Create or update a push notification template for a specific event type and push provider

post/push_templates

Request body

enable_pushboolean

Whether to send push notification for this event

event_type'message.new' | 'message.updated' | 'reaction.new' | 'notification.reminder_due' | 'feeds.activity.added' | 'feeds.comment.added' | 'feeds.activity.reaction.added' | 'feeds.comment.reaction.added' | 'feeds.follow.created' | 'feeds.notification_feed.updated' required

Event type. One of: message.new, message.updated, reaction.new, notification.reminder_due, feeds.activity.added, feeds.comment.added, feeds.activity.reaction.added, feeds.comment.reaction.added, feeds.follow.created, feeds.notification_feed.updated

push_provider_namestring

Push provider name

push_provider_type'firebase' | 'apn' | 'huawei' | 'xiaomi' required

Push provider type. One of: firebase, apn, huawei, xiaomi

templatestring

Push template

Response

Response

durationstring required

Duration of the request in milliseconds