# What is API?

**Note:** For a more in-depth guide about how API is used in Pipedrive, visit our [CRM API page.](https://www.pipedrive.com/en/features/crm-api)

Pipedrive offers a variety of automated features and third-party integrations that can make your work easier and more efficient.

But if you want more advanced communication between your website and Pipedrive account, you might be interested in **API**.

* * *

## What is API?

**Note:** API can be complex to set up and use, and is a tool mostly used by software developers. If you’re new to API, we highly recommend visiting our [Developer's corner](https://pipedrive.readme.io/docs/getting-started) for more detailed information.

In simple terms, **API** (application programming interface) is a way for two or more applications to communicate.  
  
This can be simple, like retrieving some data from an external database, or more complicated if you need to manipulate data in bulk, but API is a bridge that connects businesses to save employees time.

**Basic API Terms**

Here’s a short list of terms and definitions related to API.

| **API call** | the act of sending a request to your API after setting up an endpoint |
| --- | --- |
| **API endpoint** | the end of each touchpoint in an API interaction. |
| **API request** | when a developer adds an endpoint to a URL and uses that endpoint to call a server or database. |
| [**API key**](https://support.pipedrive.com/article/what-is-the-api-key-for) | a unique identifier used during API requests to ensure a person or software is who it says it is. |
| **API integration** | a connection between two or more applications to exchange data using API. |
| **JSON** | (JavaScript Object Notation) is an API format that uses JavaScript. Using API often requires at least a basic understanding of scripting language. |

**Note:** For more information about which users can access API in your account, check out [this article.](https://support.pipedrive.com/article/can-all-users-access-the-pipedrive-api)

**Common API use cases**  

Here are some common applications of API for web pages.

-   Integrating internal and external systems
-   Adding additional functionality
-   Bringing costs down
-   Improving internal security

**Note:** For a more in-depth look at API use cases, check out this [webpage](https://www.postman.com/what-is-an-api/#common-api-use-cases).

* * *

## How does API work in Pipedrive?

**Note:** To keep your data secure, it‘s extremely important that your API token is not shared with others. If you believe someone has access to your API token, click **“Generate new token“** to create a new one. You’ll need to update any existing API connections with the new token afterward.

To create an API connection between your Pipedrive account and another application, find your personal API key by going to **Settings > Personal preferences > [API](https://app.pipedrive.com/settings/api).**

![](https://kb-cms.pipedriveassets.com/api%201.jpg)

Once you have your token, you’ll need a platform to facilitate your API requests, like [Postman](https://pipedrive.readme.io/docs/run-pipedrive-api-in-postman-or-insomnia).

**Setting up Postman**

******Note:****** Postman isn’t a Pipedrive tool, but it can be used to execute API actions with your Pipedrive account. For an in-depth guide to Postman and how it works, check out their [web page.](https://learning.postman.com/docs/introduction/overview/)  

To use Postman as your API platform, follow [**this link**](https://pipedrive.readme.io/docs/run-pipedrive-api-in-postman-or-insomnia) to our Developer’s corner, then either **download** Postman using the provided link or click **“Run in Postman“** if you’ve already downloaded it.  

![](https://kb-cms.pipedriveassets.com/postman%202.jpg)

After you **“fork collection,“** you’ll be taken to the Postman workspace, where you can see the available API requests through Pipedrive on the left.

![](https://kb-cms.pipedriveassets.com/postman.2.jpg)

Creating an API request usually requires a few things:

-   Your API token
-   An endpoint (i.e deals)
-   An HTTP verb (i.e GET)

**Note:** Pipedrive uses **RESTful API Reference,** and you can access it along with a list of endpoints and their descriptions on this [developer’s page.](https://developers.pipedrive.com/docs/api/v1/) To see the list of endpoints, click the **arrow** next to **API Reference** at the top of the page.
