There is currently no way to set the click_action parameter when using the Firebase notification console to send a message.
You will need to create a payload on your own application server or use the Postman commands ( here ) or cURL (instructions below) when testing.
Sending sent messages via cURL
You can test sending messages using the REST FCM API by sending a request through cURL.
curl --header "Authorization: key=<API_KEY>" \ --header Content-Type:"application/json" \ https://fcm.googleapis.com/fcm/send \ -d "{\"registration_ids\":[\"ABC\"]}"
The syntax is derived from here .
The above API_KEY refers to the server key, which can be seen in the Cloud Messaging Cloud Firebase tab .
The part where:
"{\"registration_ids\":[\"ABC\"]}"
could be replaced by your own payload. For more information, see the FCM HTTP Documentation .
source share