GET
/
destinations
/
http_endpoints
curl -X GET "https://api.sequinstream.com/api/destinations/http_endpoints" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "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"
    }
  ]
}

Returns a list of all HTTP endpoints.

Response fields

There are three types of HTTP endpoints:

data
data[]

Where data is one of:

curl -X GET "https://api.sequinstream.com/api/destinations/http_endpoints" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "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"
    }
  ]
}