v1

latestOpenAPI 3.0.12026-07-24210349345.4 KB

Add Device

This endpoint can be used with Client or Server credentials and registers a device token for the Mobile Push channel, enabling push notifications without requiring a full SDK integration.

post/v1/device-tokens

Request body

customerIdstring required

The Optimove CustomerID to match the token to a customer profile

deviceType'ios' | 'android' required

The type of device token, one of "ios", "android"

tokenstring required

The device token retrieved from the device OS

bundleIdstring required

The package identifier or bundle ID of your mobile app, this must match the provided project credentials in your OptiMobile instance

iosTokenType'sandbox' | 'production'

Optionally provided for iOS devices, when omitted defaults to "production"

Response

202