Skip to main content
POST
/
link
/
sources
Search sources
curl --request POST \
  --url https://sandbox.deck.co/api/v1/link/sources \
  --header 'Content-Type: application/json' \
  --data '{
  "link_token": "<string>",
  "source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "search": "<string>"
}'
{
  "sources": [
    {
      "source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "logo_url": "<string>",
      "country": "<string>",
      "website": "<string>",
      "fields": [
        {
          "field_number": 123,
          "field_name": "<string>",
          "field_label": "<string>",
          "field_value": "<string>",
          "field_type": "Text"
        }
      ]
    }
  ]
}

Body

The link_token, must be provided when calling Link endpoints, for identifying the Link session.

Minimum length: 1
source_id
string<uuid> | null

The specific source identifier to find. If left to NULL, a list of the 15 most common data sources is returned. If specified, the search argument will be ignored.

A search term for filtering the list by data source name. If left to NULL or empty, a list of the 15 most common data sources is returned.

Required string length: 3 - 255

Response

OK

sources
object[]

List of data sources found.

I