Skip to main content
POST
/
data_sources
Create a data source
curl --request POST \
  --url http://api.endclose.com/data_sources \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "key": "<string>",
  "name": "<string>"
}
'
{
  "key": "<string>",
  "name": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
key
string
required

Unique immutable identifier

name
string
required

Human readable name

Response

201 - application/json

Data source created

key
string
required

Unique immutable identifier

name
string
required

Human readable name