No, it is not mandatory to have a GST number in Upwork. Indian freelancers use Upwork for foreign clients. As the export of services is exempted from GST along with a requirement of the total turnover of above ₹20L. So Upwork has not made it mandatory to have the GSTIN or GST Number.