The API uses environment variables to launch API calls: {{USERNAME}} and {{TOKEN}}. You can set them from TRY IT OUT
curl --location --globoff '/v2.2/leagues/?user={{USERNAME}}&token={{TOKEN}}&t=list&country_id=4'
{}