If you are using the project branching feature in Lokalise, simply add a branch name, separated by a semicolon, to the project ID in any endpoint to access the branch. For example:
feature/new-release is the branch name here. The same approach also works for all SDKs.
To work with the endpoints that support branching in our API playground, please find the "Projects with branches" section in the left menu.