Mailzero Assistant

Register a device for redacted Now alerts

Registers or rotates an encrypted push token for one app installation and environment. Only the native app calls this; it requires an active assistant and the assistant:write scope.

post/api/assistant/devices

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/assistant/devices
  • Auth: HTTP bearer

Request body

installation_idstring required
platform'ios' | 'android' required
environment'development' | 'preview' | 'production' required
push_tokenstring required
localestring required
lock_screen_detail'redacted' | 'sender_only'

Response

Device registered

okboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.