https://github.com/ThinkSmart/API_Examples/blob/2d9b8fe9e348b43486dd2c78c3bdce19ae731ea7/Workflow_via_CSV/initFunctions.py#L43 Here in case of empty token the result will be unclear - since there will be invalid headers.