The Infogram API provides 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
- Expand the dropdown menu from the upper-left.
- Select Profile.
- In the Account settings window, select the API tab on the left.
-
Click on Create new.
- Enter the token name and select access permissions, then click Create.
- Copy the token at this step - you won't be able to access it later.
- To delete a token or edit a token's permissions, click on the 3-dot button in Profile / API.
Copying and updating projects
You can create a copy of an existing project using it 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.
To be able to see the element IDs and team IDs, you need to have created at least one API token in your 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. To view the team ID, make sure you are in the correct team library and then click the Team tab at the top of the dashboard.
- 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.
Note that using this feature will require some knowledge of PHP, Java, or Ruby programming languages.
Legacy dashboard: Creating tokens and accessing team ID
See the steps below for creating API tokens and accessing your team ID if you have not yet switched to the new Infogram dashboard.
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 a token or edit token permissions, go to the Account settings / API and click on the 3-dot button.
Viewing Team ID
To create a copy of a template in a team library (not the private library), you will need the Team ID. In the legacy dashboard, these can be found on the Manage teams page:
Legacy API (Responsive editor)