The Master Token


For security purposes, all API requests to your flowthings.io account must be accompanied by either a Token or a Master Token. Regular Tokens are limited in their ability, and should be assigned to your individual devices.

The Master Token gives you full access to your account and the full range of API commands.

Your Master Token is different from your flowthings.io account password. You can find your Master Token by logging into your account at flowthings.io.

To make API calls, include the Master Token in the X-Auth-Token header:

## Create a new Flow
curl https://api.flowthings.io/v0.1/alice/flow \
    -H "X-Auth-Token: IlmK7uLSzQvXruJbyGMCfrcU05p52NXp"  \
    -d '{ "path" : "/alice/fitness-tracker" }'

Reset your Master Token

-- If you need to reset your Master Token for any reason, you can do so using the following endpoint:

curl https://api.flowthing.io/v0.1/alice/identity/resetMasterToken \
        -H "X-Auth-Token: IlmK7uLSzQvXruJbyGMCfrcU05p52NXp"  \
        -X PUT

The HTTP response will contain the new Master Token