POST
/
destinations
Create New Destination
curl --request POST \
  --url https://api.streamkap.com/destinations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "connector": "<string>",
  "config": {},
  "created_from": "terraform"
}'
{
  "name": "<string>",
  "connector": "<string>",
  "id": "<string>",
  "connector_display_name": "<string>",
  "created_timestamp": "<string>",
  "sub_id": "<string>",
  "tenant_id": "<string>",
  "config": {},
  "topic_ids": [
    "<string>"
  ],
  "topic_map": {},
  "topics": [
    "<string>"
  ],
  "tasks": [
    123
  ],
  "connector_status": "<string>",
  "task_statuses": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

secret_returned
boolean
default:false

Body

application/json
name
string
required
connector
string
required
config
object
required
created_from
enum<string> | null
default:api
Available options:
terraform,
web,
api

Response

Successful Response

Basic destination connector details.

name
string | null
connector
string | null
id
string | null
connector_display_name
string | null
created_timestamp
sub_id
string | null
tenant_id
string | null
config
object | null
topic_ids
Topic Ids · array
topic_map
object | null
topics
Topics · array
tasks
integer[] | null
connector_status
string | null
task_statuses
object | null