---
title: Editing Existing API
slug: editing-existing-api
docTags: 
createdAt: 2023-03-30T15:03:08.000Z
---

The Automation platform has a few pre-configured APIs that are readily available for you to use. However, there maybe times when you may want to modify the API for your usecase. e.g., add additional fields, or remove fields captured. For such cases where there is a custom need, you can create your own API using the API builder and use the API instead.&#x20;

Here is how you can import the pre-configured API and edit it to suit your needs.



### Create New API

Begin by creating a new API

- Click on **API&#x20;**&#x6F;n the top navigation bar
- Click on **New API** and then click on the **Build**

&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/FgfMCeTloCbzRXUN1_HlB_image.png" size="80" width="1572" height="981" position="center" showCaption="false"}



- On the API build screen, click on **Import Configuration from Library** dropdown on the top left&#x20;
- Search for the API you wish to modify and click to select
- The configuration for the json will load and autopopulate all the required fields&#x20;



::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/Fdn_pj7BbiHx5rSK_8UFi_image.png" size="82" width="1402" height="1099" position="center" showCaption="false"}



- Make the desired edits to the json configuration as per your needs&#x20;
- Click on **Initialize through Connection**&#x20;



::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/RoQ9-8OHKmKl4QzFbhD6o_image.png" size="82" width="1396" height="1098" position="center" showCaption="false"}



- Pick the **connection&#x20;**&#x74;o intialize the connection through&#x20;
  - If this is through Pathfix OAuth, select the Pathfix OAuth connection. If this is direct to provider, pick the provider connection
  - If there are no connections listed, please click on Connections from the top navigation bar and add a connection before proceeding
- Complete the other required fields for the API and click on **Continue Initialize**



::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/mbDemDsi4zWFdvb0-KQH4_image.png" size="82" width="1388" height="1092" position="center" showCaption="false"}



- On successful response, click on **Use&#x20;**&#x74;o confirm&#x20;



::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/G9z7qjYgEtb5q6eBgWGdm_image.png" size="80" width="1389" height="1095" position="center" showCaption="false"}



- Give your API a **name&#x20;**&#x61;nd click on **Save&#x20;**&#x74;o save the API
- Your edited API will be saved and can be used in your automation



::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/swjklyaN6ORTrhImK5LQR_image.png" size="82" width="1394" height="1109" position="center" showCaption="false"}



### Using the Edited API

Just like any other custom API, you can search for the edited API and use it in your automation.

- In your automation, click on the task you wish to add the API call to
- Click on **Call API**



::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/HhfdFuuOS6lmnXl7eSOnp_image.png" size="86" width="2116" height="1278" position="center" showCaption="false"}



- Search for the API by name and you should see the API available for use
- Click to add the API to your automation





::Image[]{src="https://api.archbee.com/api/optimize/4iTydmxMeM2cxR5sP_SIi/2BJTg-oyJ9SAdAqtqzuh0_image.png" size="86" width="1867" height="1108" position="center" showCaption="false"}







Need help? Reach out to our support team for any additional assistance at support\@pathfix.com.

