FCM Notifications

Send FCM Push Notification

post/fcm/send

Request

  • Base URL: https://api.sparkgo.my (the document declares no server; this is the origin it was published from)
  • URL: https://api.sparkgo.my/fcm/send
  • Auth: none declared

Request body

fcm_tokenstring nullable

Target FCM device registration token

topicstring nullable

Target FCM topic (e.g., 'notice', 'promotions')

titlestring required

Title of the push notification

bodystring required

Body text of the push notification

dataobject nullable

Custom payload data (all values must be strings)

Example request

{
  "fcm_token": "fX9zK...YOUR_DEVICE_TOKEN...3aL",
  "topic": "notice",
  "title": "Order Confirmed",
  "body": "Your SparkGO session has started."
}

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.