Skip to main content
POST
Submit lead

Authorizations

apikey
string
header
required

API Key provided by TECHEA

Body

application/json
product_id
string<uuid>
required

ID of the product the customer is applying for. Provided by TECHEA.

publisher_id
string<uuid>
required

Your publisher ID in TECHEA.

customer
object
required
product_data
object
required
consents
object
required
tracking
object

Optional campaign attribution data

Response

Lead received and processed. Check the status field:

  • new: lead accepted — no advertiser match yet, do not redirect
  • distributed: lead distributed to at least one advertiser — redirect customer to redirect_url
  • rejected: lead not accepted — check rejection_reason
lead_id
string<uuid> | null

ID generated by TECHEA. Used for advertiser event tracking. Null if the lead was rejected before being created (e.g. customer_already_exists).

status
enum<string>

Lead status from the publisher's perspective:

  • new: lead accepted — no advertiser match yet, do not redirect
  • distributed: lead sent to at least one advertiser — redirect customer to redirect_url
  • rejected: not accepted — check rejection_reason
Available options:
new,
distributed,
rejected
redirect_url
string<uri> | null

URL to redirect the customer to complete the process. Only present when status = distributed.

rejection_reason
enum<string> | null

Reason for rejection. Only present when status = rejected.

Available options:
customer_already_exists,
duplicate_submission,
eligibility_failed,
age_restriction,
income_insufficient,
geographic_restriction,
consents_missing,
invalid_product,
blacklisted,
fraud_suspected,
null