Legacy v1
Register a device (v1)
Register a Firebase device (legacy)
The fcm-django registry used by v1 pushes. The token needs read and write scopes. v2 integrations should use POST /v2/devices.
Authorizations
AuthorizationstringheaderrequiredBearer <token>, where the token comes from Create a token with the client-credentials grant.
Body
registration_id
string
required
The FCM registration token.
name
string
A label for the device.
type
enum<string>
Device platform.
Available options: android, ios, web
Responses
201
The registered device.