Skip to main content

Available environments

EnvironmentBase URLPurpose
Productionhttps://{tenant}.techea.eu/api/v1Live traffic
Sandboxhttps://sandbox.techea.eu/api/v1Integration testing

Sandbox

The sandbox environment lets you build and test your integration without affecting live data or real advertiser matching.
  • Leads submitted to sandbox are never distributed to real advertisers.
  • Responses mimic production behaviour — you will receive accepted, rejected and pending statuses.
  • Sandbox credentials (API Key, publisher_id, product_id) are separate from production. Request them from your Leadhub account manager.

Example request (sandbox)

curl -X POST https://sandbox.techea.eu/api/v1/lead \
  -H "apikey: YOUR_SANDBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": "YOUR_SANDBOX_PRODUCT_ID",
    "publisher_id": "YOUR_SANDBOX_PUBLISHER_ID",
    ...
  }'
Sandbox API Keys cannot be used against the production endpoint, and vice versa.

Production

Production requests are routed to https://{tenant}.techea.eu/api/v1, where {tenant} is the subdomain assigned to your account. Contact your Leadhub account manager to confirm your production tenant URL.