Firebase API Status

Messaging Send API

Reference page for submitting notification delivery requests to registered application devices.

POST /v1/messaging/send

Status

Operational

The endpoint accepts authenticated delivery requests and queues messages for regional fanout. Requests are validated before enqueueing.

Current Limits

Normal
Max payload4096 bytes
Batch size500 tokens
Retry window15 minutes
Timeout30 seconds

Request Fields

Field Type Required Description
tokenstringYesDevice registration token or delivery target alias.
notification.titlestringNoDisplayed title for user-visible notifications.
notification.bodystringNoDisplayed body content for user-visible notifications.
dataobjectNoCustom key-value payload for application handlers.
prioritystringNoDelivery priority. Accepted values are normal and high.

Example Request

{
  "token": "device-token",
  "notification": {
    "title": "Account update",
    "body": "Your project settings were updated."
  },
  "data": {
    "project": "default",
    "event": "settings.updated"
  },
  "priority": "normal"
}

Response Codes

Code Meaning Action
200QueuedThe request was accepted for delivery.
400Invalid requestCheck payload shape and field limits.
401UnauthorizedRefresh credentials and retry.
429Rate limitedRetry with exponential backoff.
503Temporarily unavailableRetry after the indicated interval.