Because we use slack commands to trigger builds and i need to use that token
to trigger the app build.
With the API i can take the slug but not the trigger build therefore it needs to be hard coded in my code for every app i want to allow remote build
Are you using the API to trigger the build? If so, you do not need the build trigger token. You will need a Personal Access Token. To generate this, go to “Account settings” (or “Profile settings”) and select the “Security” tab. You can specify how long before the token expires, including never. This is the token you need for authentication.