· Introduction
Welcome to DataPocket API, the first collaborative backend data tool. DataPocket allows designers and product managers to use and share live data in real-time in one place - helping them design up to 80 times faster.
DataPocket's mission is to make design easier for everyone, anywhere.
DataPocket connects the major eCommerce platforms. However, If you are managing data sources from ERPs or CMS with a module not supported by DataPocket, our API will be your solution. Enabling you to connect and synchronize any sort of data source to DataPocket.
· What can I do with the DataPocket API?
The DataPocket API supports Add, Update and Delete a data source to interact with Adobe Suite, Adobe Express, Figma, and Canva. You will then be able to use your data (images and texts) in your designs on any of these platforms, at any time, always synchronized.
Connect your favourite design tool.
· How does it work?
The DataPocket API is based on the REST structure. We support authentication via access tokens.
The DataPocket API allows you to combine data and images from different external data sources through the endpoint.
1. Getting started
If you’re not already using DataPocket,
1.1 Open DataPocket
Go to m.datapocket.app
1.2 Log in or sign up.
Log in using your DataPocket account or create one.
1.2 Click on 'Add data source'
1.3 Choose API
1.4 Click "Continue"
1.5 Name your connector and give it a description
1.6. A token and endpoint with the new data source will be generated
To test it copy the endpoint and token then go to Postman (or any other API test platform).
2. Using the official Workspace in Postman
You can now make use of a powerful API tool to help you streamline your workflow when building with our API services. Easily explore, test and contribute to our collections. Fork our workspace and get started following these steps:
2.1 Explore the Workspace
By hitting the below button you will be redirected to our Workspace. You can explore it or simply fork it directly into your team space for it to be visible by you and other members of your organisation.
2.2 Click on "Collections"
2.3 Press on "Fork"
3. Set up your environment
You simply need to retrieve your credentials created before at datapocket. Once you have your token and datasource you just need to add it to your working environment like so:
3.1 Go to "Environments"
3.2 Click on "Test"
3.3 Copy and paste the API Keys from DataPocket
Copy the Endpoint.
Paste it as the "Current Value" of the "datasource". The part of the endpoint that you need starts with "dsrc_... " and ends before "/entries".
Now copy the "Authorization Header" and paste it as the "Current Value" of the "authorization_token".
Click "Save".
4. Running the first example
Once you have properly configured your environment all the endpoints in the Workspace will inherit this value and should now be able to interact with our services without doing any further configuration. One basic example to test the connection is properly set "Add or update an existing entry" in DataPocket endpoint.
4.1 Go back to "Collections"
4.2 Click on "Add or Update an existing entrie"
4.3 Use "Test" as your environment"
4.4 Click on "body"
Use our example or change it to use your own data.
4.5 Press "Send"
5. Check de item by using a GET
This endpoint allows you to retrieve a specific :entryid information.
And see it also al DataPocket, good job!
Click on your preferred design platform, Figma, Canva or Adobe.
You will see your API data source.
You will have as many entries as you have posted.