peterpiper
peterpiper
BBuildShip
Created by peterpiper on 7/2/2024 in #❓・buildship-help
REST API connection between BuildShip and SmartSuite
Weirdly, I just tried setting up the API Call in Flutterflow direct and it worked first time!
8 replies
BBuildShip
Created by peterpiper on 7/2/2024 in #❓・buildship-help
REST API connection between BuildShip and SmartSuite
Hi - thanks for that - I am guessing the syntax changes a little bit if I am using the "Secrets" functionality.... the attempt below still generates that same error so I must have formed it incorrectly { "Authorization": (await getSecret("SmartSuiteKey")), "Account-ID": (await getSecret("SmartSuiteAccount")), "Content-Type": "application/json" }
8 replies
BBuildShip
Created by peterpiper on 7/2/2024 in #❓・buildship-help
REST API connection between BuildShip and SmartSuite
This is the info I could find in the SmartSuite guide...... Authentication SmartSuite uses simple token-based authentication. You can generate or manage your API key in your User Profile. All API requests must be authenticated and made over HTTPS. IMPORTANT! Your API key conveys the same privileges as the Member account it is generated in, so it should be treated as securely as a password. You authenticate to the API by providing your API key in the Authorization header, as well as your Workspace Id in an Account-Id header, as shown below. KEY:VALUE Authorization: Token API_KEY_HERE Account-Id: WORKSPACE_ID_HERE NOTE: Your Workspace Id is the 8 characters that follow https://app.smartsuite.com/ in the SmartSuite URL when you’re logged in. Example: https://app.smartsuite.com/sv25cxf2/solution/62c4b…
8 replies
BBuildShip
Created by peterpiper on 7/2/2024 in #❓・buildship-help
REST API connection between BuildShip and SmartSuite
The most common error I am getting (there have been a few as I bash away at a fix) is Unexpected token 'A', "Account ID"... is not valid JSON
8 replies