Just getting started with FullStory REST APIs? Or want something more convenient than cURL? Use the FullStory Postman collection.
- Download Postman.
- In Postman, click the Import button and then the Import From Link tab.
- Enter the URL
https://raw.githubusercontent.com/van-fs/fs-postman/master/FullStory.postman_collection.json
in the textbox. - Click the Import button.
The collection uses Postman environment variables to make API requests more convenient. Let's set the most important variable, the API_KEY
.
- Obtain your API Key from FullStory per documentation. Copy this to your clipboard.
- In Postman, click the Manage Environments button on the far right. (It looks like a cog.)
- Click the Add button to add a new environment and provide an Environment Name.
- Create a Variable named
API_KEY
. Set the Initial Value to be your API Key you copied from step 1.
As needed, add other environment variables such as USER_ID
or USER_EMAIL
. You'll see these variables used in request URLs, for example {{USER_EMAIL}}
. If the variable is red in color, it is not yet set.
Some environment variables like EXPORT_ID
or OPERATION_ID
are automatically assigned for convenience. You can update any environment variable, for example START
, by editing the Current Value in environment variables.
To obtain data exports, perform the following.
- Select the List Data Exports request from the Export folder in the collection.
- Click the Send button. (By default, this will look for data exports created in the last 36 hours. You can change this by setting the
START
environment variable.) - Click the Get Data Export request - also in the Export folder.
- Click the Send button to view the export as JSON. Alternatively, click the Send button's dropdown and Send and Download to save the export.
- Return to the List Data Exports request and re-Send. You'll notice that the list is one less. This is because everytime the request is sent, the next bundle is used as the starting point.
- Re-issue the Get Data Export and List Data Exports until all bundles have been collected.
Use the Tests and Pre-request Script feature to build your own quick and easy FullStory app.