> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Push Notification

> Get push notification for a message.
### Changelog
| Version      | Description |
| ---------------- | ------------|
|3.5.0            | Added       |

## OpenAPI

````json GET /api/v1/push.get
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Notifications"
  },
  "servers": [
    {
      "url": "https://apiexplorer.support.rocket.chat"
    }
  ],
  "paths": {
    "/api/v1/push.get": {
      "get": {
        "summary": "Get Push Notification",
        "operationId": "get-api-v1-push.get",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "object",
                          "properties": {
                            "_id": {
                              "type": "string"
                            },
                            "rid": {
                              "type": "string"
                            },
                            "msg": {
                              "type": "string"
                            },
                            "ts": {
                              "type": "string"
                            },
                            "u": {
                              "type": "object",
                              "properties": {
                                "_id": {
                                  "type": "string"
                                },
                                "username": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              }
                            },
                            "urls": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {}
                              }
                            },
                            "mentions": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {}
                              }
                            },
                            "channels": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {}
                              }
                            },
                            "md": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string"
                                        },
                                        "value": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "_updatedAt": {
                              "type": "string"
                            }
                          }
                        },
                        "notification": {
                          "type": "object",
                          "properties": {
                            "from": {
                              "type": "string"
                            },
                            "badge": {
                              "type": "integer"
                            },
                            "sound": {
                              "type": "string"
                            },
                            "priority": {
                              "type": "integer"
                            },
                            "title": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "payload": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                },
                                "messageId": {
                                  "type": "string"
                                },
                                "notificationType": {
                                  "type": "string"
                                },
                                "rid": {
                                  "type": "string"
                                },
                                "sender": {
                                  "type": "object",
                                  "properties": {
                                    "_id": {
                                      "type": "string"
                                    },
                                    "username": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "senderName": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              }
                            },
                            "userId": {
                              "type": "string"
                            },
                            "notId": {
                              "type": "integer"
                            },
                            "gcm": {
                              "type": "object",
                              "properties": {
                                "style": {
                                  "type": "string"
                                },
                                "image": {
                                  "type": "string"
                                }
                              }
                            },
                            "apn": {
                              "type": "object",
                              "properties": {
                                "category": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                },
                "examples": {
                  "Success Example": {
                    "value": {
                      "data": {
                        "message": {
                          "_id": "WkbwSntxt8D3jLp8G",
                          "rid": "iu7jtPAhvEeAS5tNq",
                          "msg": "fsfs",
                          "ts": "2021-10-22T14:29:23.581Z",
                          "u": {
                            "_id": "d26x6zSkaPSe5gCyy",
                            "username": "rodriq",
                            "name": "Rodriq"
                          },
                          "urls": [],
                          "mentions": [],
                          "channels": [],
                          "md": [
                            {
                              "type": "PARAGRAPH",
                              "value": [
                                {
                                  "type": "PLAIN_TEXT",
                                  "value": "fsfs"
                                }
                              ]
                            }
                          ],
                          "_updatedAt": "2021-10-22T14:29:23.603Z"
                        },
                        "notification": {
                          "from": "push",
                          "badge": "2",
                          "sound": "default",
                          "priority": "10",
                          "title": "#vb",
                          "text": "rodriq: fsfs",
                          "payload": {
                            "host": "http://localhost:3000/",
                            "messageId": "WkbwSntxt8D3jLp8G",
                            "notificationType": "message",
                            "rid": "iu7jtPAhvEeAS5tNq",
                            "sender": {
                              "_id": "d26x6zSkaPSe5gCyy",
                              "username": "rodriq",
                              "name": "Rodriq"
                            },
                            "senderName": "rodriq",
                            "type": "c",
                            "name": "vb"
                          },
                          "userId": "d26x6zSkaPSe5gCyy",
                          "notId": "654494840",
                          "gcm": {
                            "style": "inbox",
                            "image": "http://localhost:3000/images/logo/android-chrome-192x192.png"
                          },
                          "apn": {
                            "category": "MESSAGE"
                          }
                        }
                      },
                      "success": "true"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "error": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "Example": {
                    "value": {
                      "success": "false",
                      "error": "Match error: Missing key 'id'"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/authorizationError"
          }
        },
        "description": "Get push notification for a message.\n### Changelog\n| Version      | Description |\n| ---------------- | ------------|\n|3.5.0            | Added       |",
        "parameters": [
          {
            "$ref": "#/components/parameters/X-Auth-Token"
          },
          {
            "$ref": "#/components/parameters/X-User-Id"
          },
          {
            "schema": {
              "type": "string"
            },
            "example": "WkbwSntxt8D3jLp8G",
            "in": "query",
            "name": "id",
            "description": "The message ID.",
            "required": "true"
          }
        ],
        "tags": [
          "Push Notifications"
        ]
      }
    }
  },
  "components": {
    "responses": {
      "authorizationError": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            },
            "examples": {
              "Authorization Error": {
                "value": {
                  "status": "error",
                  "message": "You must be logged in to do this."
                }
              }
            }
          }
        }
      }
    },
    "parameters": {
      "X-Auth-Token": {
        "name": "X-Auth-Token",
        "in": "header",
        "required": "true",
        "schema": {
          "type": "string"
        },
        "example": "9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq",
        "description": "The authorization token of the user."
      },
      "X-User-Id": {
        "name": "X-User-Id",
        "in": "header",
        "required": "true",
        "schema": {
          "type": "string"
        },
        "example": "aobEdbYhXfu5hkeqG",
        "description": "The user ID of the user."
      }
    }
  }
}
````

