The Infogram API empowers users with programmatic access to essential actions, such as updating and copying projects, publishing projects on a website or via URLs, accessing the project library, and exporting images, PDFs, or HTML files.
Access the Infogram API complete documentation here.
Authentication: Creating an API token
- Go to your Account settings page and switch to the API tab.
- Click on Create new.
- Enter the token name and select access permissions.
- Click Create and Copy the token on this step - you won't be able to access it later.
- To delete token or edit token permissions, click on the 3-dot button.
Copying and updating projects
You can create a copy of an existing project that is used as a template and update the data and text. To do so, you will need the project ID, the element ID, and a Team ID if you are a member of a team account.
- Open the project template in the editor and copy the Project ID parameter from URL:
- To create a copy of the template, use the copyProject endpoint. The copy will be created in your private library. To create the copy in a team library, you will need the Team ID that can be found on the Manage teams page:
- To update data with the updateEntities endpoint, an element ID is required. In the project editor, right-click on the element you want to update to Copy element ID.
For more details, take a look at the walkthrough and code example on how to automate the creation of periodic reports.
Note that to use any of the premium features via API, such as downloading PDF or HTML files, you need to have a subscription plan that includes the feature.
Legacy API
You can find the Legacy API credentials on the Account settings API tab, right below the new API tokens.
Note that using this feature will require some knowledge of PHP, Java, or Ruby programming languages.