# About the API

## API formats

The Pipeliner API endpoints are documented in [**REST API** ](https://pipeliner.stoplight.io/docs/api-docs)or [**GraphQL API**](http://pipeliner-api-doc.s3-website-eu-west-1.amazonaws.com/latest/graphql/space/index.html) reference.

### Download API endpoints

You can download the Rest API JSON in Open Api 3.0.0 format and import it to the tools like [**Postman**](https://www.postman.com/)**,** [**Insomnia**](https://insomnia.rest/). In case you are using GraphQL, you can import GraphQL Schema to the [**Insomnia**](https://insomnia.rest/) as well

**Rest API download:** [**openapi.json**](http://pipeliner-api-doc.s3-website-eu-west-1.amazonaws.com/latest/rest/space/openapi.json)

**GraphQL Schema download:** [**GraphQL.json**](https://crm.pipelinersales.com/api/v100/app/graphql/schema.json)

## API URL Syntax

For Rest API or GraphQL API the URL Syntax stays the same

**Rest API BaseURL Format**

```
https://us-east.pipelinersales.com/api/v100/rest/spaces/<space_id>/..
```

![](https://3470708952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFpjbhrh1xo0SPAbAc7Ny%2Fuploads%2FUet7CJCBsW1AQ3wBnheW%2Fimage.png?alt=media\&token=b1de1fdb-d870-4529-b0d7-a722434886ee)

**GraphQL API BaseURL Format**

```
https://<SERVICE_URL>/api/v100/app/space/<SPACE_ID>/graphql/public
```

\
The BaseURL is divided into the following three sections:

#### **Service URL**

The Service URL of Pipeliner CRM APIs is generated dynamically at the time of creating an application. This usually depends on the geographical area where the space is located. For the Service URL, you need to have an active [**API application**](https://developers.pipelinersales.com/api-docs/overview/authentication)**.**

#### **Space and Space ID**

Space ID is the identifier of the space where you are trying to connect. Space ID can be found in the process of obtaining [**API Access**](https://developers.pipelinersales.com/api-docs/overview/authentication)**.**

#### **Endpoints**

Endpoints are the API methods combined with the corresponding entity. <br>

**Example of final BaseURL**

```
https://us-east.pipelinersales.com/api/v100/rest/spaces/nv1_example_space
```
