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

# List HTTP endpoints

Returns a list of all HTTP endpoints.

## Response fields

There are three types of HTTP endpoints:

<ResponseField name="data" type="data[]">
  Where `data` is one of:

  <Expandable title="HTTP endpoint">
    <ResponseField name="id" type="string">
      The unique identifier of the HTTP endpoint
    </ResponseField>

    <ResponseField name="name" type="string">
      The name of the HTTP endpoint
    </ResponseField>

    <ResponseField name="url" type="string">
      The URL of the HTTP endpoint
    </ResponseField>

    <ResponseField name="headers" type="object">
      Headers to include with requests
    </ResponseField>

    <ResponseField name="encrypted_headers" type="string">
      Encrypted headers information
    </ResponseField>
  </Expandable>

  <Expandable title="webhook.site endpoint">
    <ResponseField name="id" type="string">
      The unique identifier of the HTTP endpoint
    </ResponseField>

    <ResponseField name="name" type="string">
      The name of the HTTP endpoint
    </ResponseField>

    <ResponseField name="webhook.site" type="boolean">
      Indicates this is a webhook.site endpoint
    </ResponseField>
  </Expandable>

  <Expandable title="local endpoint">
    <ResponseField name="id" type="string">
      The unique identifier of the HTTP endpoint
    </ResponseField>

    <ResponseField name="name" type="string">
      The name of the HTTP endpoint
    </ResponseField>

    <ResponseField name="local" type="boolean">
      Indicates this is a local endpoint
    </ResponseField>

    <ResponseField name="path" type="string">
      The path for the local endpoint
    </ResponseField>

    <ResponseField name="headers" type="object">
      Headers to include with requests
    </ResponseField>

    <ResponseField name="encrypted_headers" type="string">
      Encrypted headers information
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.sequinstream.com/api/destinations/http_endpoints" \
    -H "Authorization: Bearer YOUR_API_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": [
      {
        "id": "7c87ba76-c13c-4a87-bfff-0f1ba73f33a0",
        "name": "my-endpoint",
        "url": "https://dune.com/sandworms",
        "headers": {
          "house": "atreides"
        },
        "encrypted_headers": "(0 encrypted header(s)) - sha256sum: b4a8f200"
      },
      {
        "id": "6ed248a4-2e1e-4aa2-ab0b-1f7383ad974b",
        "name": "my-webhook-site-endpoint",
        "webhook.site": true
      },
      {
        "id": "0d993573-a4aa-42e4-baec-2efcac13ce6a",
        "local": true,
        "name": "my-local-endpoint",
        "path": "/my/path",
        "headers": {},
        "encrypted_headers": "(0 encrypted header(s)) - sha256sum: b4a8f200"
      }
    ]
  }
  ```
</ResponseExample>
