Skip to main content
POST
/
sources
/
add
Add a Source
curl --request POST \
  --url https://sandbox.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",
  "auth_supported": true,
  "name": "<string>"
}

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
required

The URL of the website to add as a source

Response

OK

source_guid
string<uuid>

Unique identifier for the source

auth_supported
boolean | null

Indicates whether the source supports user authentication

name
string

Name of the data source