# 4: Endpoints

## Introduction

Endpoint options are used to define the API requests for any endpoints you want to make available for use with [instances](https://doc.wearepatchworks.com/product-documentation/~/changes/J8IbZkP6ASUZu2oBhGi2/connectors-and-instances/working-with-instances) of this connector:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2F8hRQ3NZIEgR1RMRbsTA9%2Fendpoint%201.png?alt=media&#x26;token=5e7e07d6-0517-4c88-93f1-255dd74317b8" alt=""><figcaption></figcaption></figure></div>

Any endpoints added here will be available for your users to select when they choose to [add an instance](https://doc.wearepatchworks.com/product-documentation/~/changes/J8IbZkP6ASUZu2oBhGi2/connectors-and-instances/working-with-instances/adding-an-instance) of this connector to a [process flow](https://doc.wearepatchworks.com/product-documentation/~/changes/J8IbZkP6ASUZu2oBhGi2/process-flows/about-process-flows) - for example:

<div align="left"><figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2Fo5iEGUkugdjDd2jiSLZ3%2Fendpoint%202.png?alt=media&#x26;token=7e7828c9-bf80-467b-9240-0e08096fd23d" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
When configuring endpoints, you choose a **direction** to confirm the direction of data flow:

* **Receive** - where a connection will perform a GET request from the endpoint resource.
* **Send** - where a connection will perform a POST, PUT, PATCH or DELETE request on the endpoint resource.&#x20;

Be sure to configure **one endpoint for each direction that your users may need to use in process flows**.
{% endhint %}

## Working with endpoints

Please see [Adding a new endpoint](https://doc.wearepatchworks.com/product-documentation/~/changes/J8IbZkP6ASUZu2oBhGi2/developer-hub/connector-builder/building-your-own-connector/4-endpoints/adding-a-new-endpoint) for general steps required to add a new endpoint for a connector. You'll find detailed information about options and settings in the [Endpoint options](https://doc.wearepatchworks.com/product-documentation/~/changes/J8IbZkP6ASUZu2oBhGi2/developer-hub/connector-builder/building-your-own-connector/4-endpoints/endpoint-options) section.
