Use smarthing to turn on camera recording through http request

Hi, Community,

We are trying to integrate our camera with smarthing motion sensor to create a scenario that recording will start with motion sensor activated. Currently, we can send http request to start recording and set a timeout to stop the recording. I would appreciate if someone can point out the route to make this happen with smarthing routin. Any piece of advise would help.