Add device token for user

post/api/notifications/v1/tokens

Registers a new device token for the authenticated user. If the token already exists, updates its association or last set time as appropriate. Used for enabling push notifications to the user's device.

Request Body

deviceToken string required
Min length: >= 1 characters
provider string required
Allowed value: fcm
platform string required
Allowed values: ANDROID IOS
appId string required
Min length: >= 1 characters

201 Response

deviceToken string required
platform string required
Allowed values: ANDROID IOS
provider string required
Allowed value: fcm
appId string required
bitgoUserId string required
message string required