devices
Send a test notification
Sends a push to the devices this student registered, to prove a registration works.
Omit token to reach every registered device, or name one to test it alone.
results[].reason carries the failure from FCM verbatim — that string is the point
of this endpoint. A device that FCM reports as dead is removed from the registry
here, so a second call will no longer list it.
POST
Send a test notification
Authorizations
Supabase access token: Authorization: Bearer <token>
Body
application/json
Send to this device only. Omit to send to every registered device.
Required string length:
1 - 4096Required string length:
1 - 500