Authorization
Create an access
In your Feature Experimentation account, go to Settings > Feature Experimentation > Remote Control API

You will need to fill :
An access name
Select one or several environments (or let empty to select all your environments)
Select one or several actions to authorize
When you're done, click on Generate and you will see the following modal :

Save your Client id and Client secret now as they will be needed to generate a token. For security reasons, they cannot be retrieved again after you close this dialog.
Generate a token
After generating your access credentials, you need to generate a token to authenticate your API calls.
To generate a token you will need to do the following request. Or you can use the online generator here:
You will find your ACCOUNT_ID in Settings > Account section.
Expiration time :
You can define the token expiration time. For example, to create a token with an expiration time of 1800 seconds, call :
POST https://auth.flagship.io/{ACCOUNT_ID}/token?expires_in=1800
You now have a valid token with the list of actions you selected previously.
You can verify that your token is valid by making the following request :
Revoke an access
You can preview or revoke your created access in the panel located below the access creation panel.

Last updated
Was this helpful?

