Open a CSVBox importer session
Returns what the client needs to open the CSVBox importer. Open one session per upload, right before opening the importer: *
-
license_key: this environment’s CSVBox sheet license key.
-
import_token: pass it in the importer’srequest_headersundertoken_header(X-Import-Token). CSVBox sends it on every delivery to POST /agent/roster-imports/csvbox; it is how MOGL knows the agent. It is encrypted on the server (agent id, session id, environment, expiry) and cannot be read or forged by the client.
-
session_id: the import’s idempotency key. It stays the same across every correction and resubmission, though CSVBox gives each one a new import id. When CSVBox reports success, find the MOGL import with GET /agent/roster-imports?session_id=…, then poll it.
-
env_name: pass it as the importer’senvironment.env_name, so CSVBox imports are tagged by environment.
- Same approval rule as inviting athletes. Rate limit 30/min.