How? Automation for calling PUSHCUT URL

Hey everyone,

I’m in the process of completely transitioning myself and my family away from Apple Home due to the lack of support. I’m almost fully switched to Home Assistant (HA), except for one thing: notifications via Pushcut.

Currently, I’m triggering Pushcut notifications through Home/Shortcuts. This requires integrating a device from HA into HomeKit, which I’d like to avoid. For example, I have an automation set up that triggers a shortcut to get contents from a URL when a door is opened.

I’m looking for a way to achieve this directly in Home Assistant. Specifically, I want to create an automation that says: if my contact sensor is activated, then call a specific URL: https://api.pushcut.io/xxxx/notifications/doorisopen.

I’ve searched on Reddit and here on this forum, but I’m not sure how to set this up in the automation section. I know the trigger will be the sensor, but I’m unclear on what the action should be. How can I configure it to make a GET request to a URL?

I already know that it’s a great community and glad to be here.
Any help would be appreciated!

You need to create a REST notification entity.

See an example of mine for a similar service

notify:
  - name: ntfy_urgent
    platform: rest
    method: POST_JSON
    data:
      topic: HA 
      priority: 5
    title_param_name: title
    message_param_name: message
    resource: https://ntfy.spax.pm

Thank you for your kind reply.

I still don’t understand the process. Where should I add this information? How will it be triggered as an automation?
I do not need a message or any other parameters, as I have everything set up in Pushcut. I simply need to make a request to the provided URL, and it will instantly send notifications to all of my devices via the Pushcut server.

That’s exactly what a notification is in HA terms.