GET
/
source_types
/
{service_name}
curl --request GET \
  --url https://app.getcensus.com/api/v1/source_types/{service_name} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "documentation_slug": "snowflake",
    "label": "Snowflake",
    "service_name": "snowflake",
    "supported_sync_engines": [
      "advanced"
    ],
    "creatable_via_api": true,
    "creatable_via_connect_link": true,
    "configuration_fields": {
      "fields": [
        {
          "id": "instance_url",
          "rules": "required",
          "label": "Endpoint URL",
          "type": "string",
          "placholder": "https://rest.iad-01.braze.com",
          "matches": "^(?:(?=.*rest)https:\\\\/\\\\/rest|(?!.*rest)(https:\\\\/\\\\/)?sdk)\\\\.(iad|fra)-\\\\d\\\\d\\\\.braze\\\\.(com|eu)",
          "is_password_type_field": true,
          "possible_values": [
            "<string>"
          ],
          "read_more": "https://docs.getcensus.com/destinations/available-destinations/hubspot#managing-object-associations",
          "hint": "You can find your API key in the YourService UI under Settings > Integrations > API Key\n",
          "input_type": "textbox"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
headerrequired

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

service_name
string
required

Name of the source type to retrieve

Response

200 - application/json
status
enum<string>
required

The outcome of the fetch request

Available options:
success
data
object
required