Skip to main content
POST
Register a device for push

Authorizations

Authorization
string
header
required

Supabase access token: Authorization: Bearer <token>

Body

application/json
token
string
required

The FCM registration token from the client SDK.

Required string length: 1 - 4096
platform
enum<string>
required
Available options:
ios,
android
appVersion
string
Maximum string length: 64
locale
string
Maximum string length: 32

Response

The registered device

device
object
required