---
updatedAt: 2026-05-27T00:39:46.000Z
agentTools:
  projectIndex: https://docs.trybadge.com/llms.txt
---

# Send push notification

Notification delivery is attempted for 24 hours after the notification is scheduled to be sent. A notification is considered failed if it is not delivered within this time frame. This may occur if the user's device is not receiving updates, a newer notification has been sent, or if the daily notification limit is reached (3 for Google Wallet).


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Badge API",
    "version": "0"
  },
  "servers": [
    {
      "url": "https://api.trybadge.com/v0"
    }
  ],
  "security": [
    {
      "WorkspaceAuth": []
    }
  ],
  "tags": [
    {
      "name": "Notification"
    }
  ],
  "paths": {
    "/rpc/passSendPushNotification": {
      "post": {
        "operationId": "passSendPushNotification",
        "tags": [
          "Notification"
        ],
        "summary": "Send push notification",
        "description": "Notification delivery is attempted for 24 hours after the notification is scheduled to be sent. A notification is considered failed if it is not delivered within this time frame. This may occur if the user's device is not receiving updates, a newer notification has been sent, or if the daily notification limit is reached (3 for Google Wallet).\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "passTemplateId",
                  "passId",
                  "message"
                ],
                "properties": {
                  "passTemplateId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "passId": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400ErrorMessage"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "WorkspaceAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "responses": {
      "400ErrorMessage": {
        "description": "Invalid input was received.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "message"
              ],
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
```