notifications

Register FCM token

Register or update Firebase Cloud Messaging token for a device.

post/api/notifications/register

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/notifications/register
  • Auth: HTTP bearer

Request body

fcm_tokenstring required

Firebase Cloud Messaging token

platformstring nullable

Optional platform type: web, mobile, desktop

Example request

{
  "fcm_token": "fGhJkLmNoPqRsTuVwXyZ1234567890",
  "platform": "web"
}

Response

Successful Response

titlestring

Success title

messagestring required

Success message

Example response

{
  "message": "Token FCM registrato con successo"
}

Changes

No recorded changes to this operation across all 55 revisions of this API.