Skip to main content

Headers and Parameters Configuration

Configure custom HTTP headers and URL parameters for your API synchronization.

Custom Headers

Add custom headers to your API requests for authentication, content type, or other requirements.

Headers Configuration Configure custom HTTP headers

Common Header Examples

Header NameValuePurpose
Content-Typeapplication/jsonSpecify JSON content
Acceptapplication/jsonRequest JSON response
X-API-Keyyour-api-keyCustom API authentication
X-Request-IDunique-idRequest tracking

Adding Headers

  1. Navigate to the Headers tab in your configuration
  2. Click Add a line
  3. Enter the Key (header name)
  4. Enter the Value (header value)
  5. Save the configuration

URL Parameters

Configure URL parameters for GET requests and query strings.

Parameters Configuration Configure URL parameters

Parameter Types

  • Query Parameters: Added to URL as ?key=value
  • Path Parameters: Embedded in URL path
  • Filter Parameters: Used for data filtering

Common Parameters

ParameterExample ValueDescription
page1Pagination page number
limit100Records per page
sortnameSort field
orderascSort order
filteractive=trueFilter criteria

Adding Parameters

  1. Navigate to the Parameters tab
  2. Click Add a line
  3. Enter the Field name
  4. Select Domain Operator if needed
  5. Enter the Value

Dynamic Parameters

Use Python scripts to generate dynamic parameter values:

# Example: Add timestamp parameter
import time
params['timestamp'] = str(int(time.time()))

# Example: Add calculated page size
params['page_size'] = min(records_count, 100)

Best Practices

  1. Security: Never expose sensitive data in URL parameters
  2. Encoding: Properly encode special characters
  3. Documentation: Document all required headers
  4. Testing: Test with various parameter combinations
  5. Validation: Validate parameter values before sending