> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an endpoint

> Add an endpoint to a version and choose the card or segment it serves.

An endpoint is one callable path on a destination. A version can hold several, each exposing different data.

<Steps>
  <Step title="Open the Endpoints tab">
    Open the destination and select **Endpoints**, then click **Add Endpoint**.

    <img src="https://mintcdn.com/occtoo/1WzHqAa_CdnC2GBq/images/guides/studio/destinations/destination-endpoints-list.png?fit=max&auto=format&n=1WzHqAa_CdnC2GBq&q=85&s=4f9feb53a6a05c7c211958cd8a4218c8" alt="The Endpoints tab" width="1440" height="900" data-path="images/guides/studio/destinations/destination-endpoints-list.png" />

    Each endpoint is listed with the card it is based on, the segments filtering it, its identifier, and how many properties it exposes.
  </Step>

  <Step title="Describe the endpoint">
    <img src="https://mintcdn.com/occtoo/1WzHqAa_CdnC2GBq/images/guides/studio/destinations/destination-endpoint-details.png?fit=max&auto=format&n=1WzHqAa_CdnC2GBq&q=85&s=869df35182057bf66b35418c24a07fdc" alt="The Add Endpoint dialog" width="1440" height="900" data-path="images/guides/studio/destinations/destination-endpoint-details.png" />

    * **Name** — the display name.
    * **Identifier** — the URL segment, derived from the name as you type. At least 3 characters, alphanumeric and underscore only.
    * **Description** — optional.

    Click **Next**.
  </Step>

  <Step title="Select the content base">
    <img src="https://mintcdn.com/occtoo/1WzHqAa_CdnC2GBq/images/guides/studio/destinations/destination-endpoint-content-base.png?fit=max&auto=format&n=1WzHqAa_CdnC2GBq&q=85&s=76d9ccb09e6bd8ffb1a068060b4321da" alt="Selecting the content base" width="1440" height="900" data-path="images/guides/studio/destinations/destination-endpoint-content-base.png" />

    Two tabs decide what the endpoint serves:

    * **Segments** — the endpoint returns only the entries in that segment. Picking a segment also fixes the card it belongs to.
    * **Cards** — the endpoint returns every entry of that card.

    Filter by category or search by name, then tick the tile. Only one content base can be selected.

    <Warning>
      Switching between the **Segments** and **Cards** tab clears the selection you had made on the other tab.
    </Warning>
  </Step>

  <Step title="Save">
    Click **Save**. Studio creates the endpoint with every property of the card selected, and opens it so you can narrow that down.
  </Step>
</Steps>

<Warning>
  Endpoints can only be added to a version that is not yet published. On a published version **Add Endpoint** is disabled — create a new version instead. See [Create a version](/guides/studio/destinations/create-a-version).
</Warning>

Next, choose which properties and relations the endpoint exposes — see [Endpoint content](/guides/studio/destinations/endpoint-content).
