> ## 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.

# Get HTTP endpoint

Returns details for a specific HTTP endpoint.

## Request fields

<ParamField path="endpoint_id_or_name" type="string" required>
  The ID or name of the HTTP endpoint
</ParamField>

## Response fields

The response is one of the following:

<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>

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

<ResponseExample>
  ```json Regular HTTP Endpoint theme={null}
  {
    "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"
  }
  ```

  ```json Webhook.site Endpoint theme={null}
  {
    "id": "6ed248a4-2e1e-4aa2-ab0b-1f7383ad974b",
    "name": "my-webhook-site-endpoint",
    "webhook.site": true
  }
  ```

  ```json Local Endpoint theme={null}
  {
    "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>
