Workflow variables when Trigerred via REST API

I am attempting to trigger a workflow using the REST API endpoint /automation/workflows/{workflowID}/exec .
The workflow does get triggered; however, it is not clear from the documentation how to send variables for the workflow’s initial scope (record , namespace , etc.).
Could anyone refer me to more information on this?