Step-by-step guide to connecting to external APIs using HTTP endpoints
url
: The API endpoint URLmethod
: HTTP method (GET, POST, PUT, etc.)headers
: HTTP headers to include with the requestparameters
: Query parameters with values and required flagsparameterGroups
: Groups of related parameters (optional)authType
: Authentication type (None, API Key, Bearer Token, Basic Auth)auth
: Authentication details based on the auth typeresponsePathExtractor
: JSON path to extract a specific key from the response (e.g., “value”)name
: Name of the datasourceproject_id
: ID of the project to associate withtype
: Must be “http-requests” for HTTP connectionsstatus
: Initial status (typically “transformation_started”)id
as your datasource_id
for the next steps.
name
: Name for the credentialstype
: “api” for API credentialsdescription
: Description of what the credentials are formetadata
: Additional information about the APIdatasource_id
: ID of the datasource from step 2team_id
: Team that can access these credentialsorganization_id
: Organization that owns these credentialsconfig
: Configuration details for the connectionproject_id
: ID of the projectdatasource_id
: ID of the datasource created in step 2connect_spec
: Connection specification object with:
name
: Name of the connectionid
: Type identifier (“http-requests”)config
: Full configuration matching the test-connection parameters