Skip to Content
Anuma SDKClientInternalFunctionspostApiV1NotificationsDevices

postApiV1NotificationsDevices

postApiV1NotificationsDevices<ThrowOnError>(options: Options<PostApiV1NotificationsDevicesData, ThrowOnError>): RequestResult<PostApiV1NotificationsDevicesResponses, PostApiV1NotificationsDevicesErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1212 

Register push-notification device

Stores an Expo push token so the portal can later deliver push notifications to this device. Idempotent — re-posting the same token refreshes the row.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1NotificationsDevicesData, ThrowOnError>

Returns

RequestResult<PostApiV1NotificationsDevicesResponses, PostApiV1NotificationsDevicesErrors, ThrowOnError>

Last updated on