HTTP Endpoints
Create HTTP Endpoint
Management API
- Introduction
- Authentication
- HTTP Endpoints
- Sink Consumers
- Backfills
- Errors
HTTP Endpoints
Create HTTP Endpoint
POST
/
destinations
/
http_endpoints
curl -X POST "https://api.sequinstream.com/api/destinations/http_endpoints" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-endpoint",
"url": "https://dune.com/sandworms",
"headers": {
"house": "atreides"
},
"encrypted_headers": {
"secret": "house-secret"
}
}'
{
"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"
}
Creates a new HTTP endpoint.
Request fields
The request body is one of the following:
Response fields
The response is one of the following:
curl -X POST "https://api.sequinstream.com/api/destinations/http_endpoints" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-endpoint",
"url": "https://dune.com/sandworms",
"headers": {
"house": "atreides"
},
"encrypted_headers": {
"secret": "house-secret"
}
}'
{
"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"
}
curl -X POST "https://api.sequinstream.com/api/destinations/http_endpoints" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-endpoint",
"url": "https://dune.com/sandworms",
"headers": {
"house": "atreides"
},
"encrypted_headers": {
"secret": "house-secret"
}
}'
{
"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"
}