Add a custom catalog from a specific Branch (not main) using curl

I have added a custom catalog using Rancher’s API (curl) as provided here.
However, this only creates the catalog from the Main line of the git path.
Is there a way to link a specific Branch?