Figured has a RESTful API that you can use to access your farm data and build integrations for. The Figured API uses OAuth 2.0 for authentication and authorization. This guide describes how to can generate a new client in Figured & generate a secure token to start using our API through Postman.
Step 1: Click on your user icon & head into the Developer Centre.
This is where you can also find our API documentation and manage your OAuth clients.
Step 2: Head into manage My Apps, and then click Create New Client
Step 3: Enter a name for your application, callback URL, and create your client
You can use https://my.figured.com/ as your callback URL for test purposes. Click Create when you're ready.
Once completed, you'll be given a client ID and secret key.
Step 4: Generate your token
In a new tab in Postman, head into Authorisation. The Authorisation type needs to be set to OAuth 2.0. Click Get New Access Token.
Enter your credentials using the authorisation path in the Figured developer documentation, and the client ID and secret key you generated earlier. Click Get New Access Token.
Auth URL: https://api.figured.com/oauth/authorize
Access token URL: https://api.figured.com/oauth/token
Client ID: the client ID you just generated
Client secret: the secret key you just generated
Postman will launch a window for you to log into Figured. Use the same credentials that you use to log into the main application. Don't forget to use the callback URL that you entered when generating the client.
Once you enter your credentials, you'll be prompted to authorize the application you just made. Click Authorize.
Use the token generated to start sending requests through Postman to the Figured API.