# Generate API token NB : You need to be a root user to proceed ## Steps * Go to Postman * If you don't have "Bigle function" Collection : * download it here https://drive.google.com/file/d/1R_k1Cs0_-DJ1B5Zs1b86D36Uw0Lb2hP1/view?usp=sharing * import the file in the collection folder * ![](https://i.imgur.com/nN3m1Y1.png) You need your workspace UID and your bearer token * Token : * Go on https://bigle-platform-test.firebaseapp.com/ * Inspect and go on network * You can find your token under the call userEU-getHubspotToken in Headers Request Headers * Workspace UID : * Go on https://bigle-platform-test.firebaseapp.com/ * Inspect and go on Redux RevTools * Select mainState.workspace.uid You need now to set those values in Postman * Go to Postman * Select "Bigle function" Collection * Select "Generate API Token Test"(select the environment for which you need the token) * In Headers replace Authorization with your token ![](https://i.imgur.com/c5Dh7Qp.png) * In Body replace workspaceUid with your workspace UID ![](https://i.imgur.com/bTXOuq2.png) NB : In audience you can select for which API you are generating the token (ex : apiDocument, apiSignature, apiModel, apiDocumentSharing) ** Token Duration : 1h **