Let’s create a flow as below.
1) Take the trigger as HTTP Request received.
2) Generate Schema accordingly to your input, I just have AccountID as an Input so taken JSON as below to generate schema and declare the method as POST.
4) Save the flow and get the URL from HTTP Trigger (first step)
To Configure Flow URL in a best way, you can read this Post.
Hope this helps.