Skip to main content
POST
/
sources
/
add
Add a Source
curl --request POST \
  --url https://live.deck.co/api/v1/sources/add \
  --header 'Content-Type: application/json' \
  --header 'x-deck-client-id: <api-key>' \
  --header 'x-deck-secret: <api-key>' \
  --data '
{
  "website_url": "<string>"
}
'
{
  "source_guid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "auth_supported": true
}

Authorizations

x-deck-client-id
string
header
required

Enter your client id

x-deck-secret
string
header
required

Enter your secret

Body

website_url
string<uri>
required

Website URL of the data source. Should be the login page.

Minimum string length: 1

Response

OK

source_guid
string<uuid>
required

Unique identifier for the created data source

name
string
required
auth_supported
boolean | null