ClickDealer

Request information

Request fields

Responses

If you want to receive a response immediately after the lead is successfully validated without waiting for lead's sale, add the async_response=true GET parameter to the request URL.

Please note: in this case "AutologinUrl" and "Payout" values will not be sent in the response, since they can only be obtained on the lead's sale.

Response body
STATUS 40X - FAILED

{
    "Result" : "Failed",
    "Response_code" : "400",
    "Message" : "Required fields missing: [email]"
}

{
    "Result" : "Failed",
    "Response_code" : "400",
    "Message" : "Request validation failed"
}
                
STATUS 200 OK - SUCCESS

{
    "Result": "Success",
    "LeadId": "9f57b396d89c408190ba1ec4cc93a61d68x66",
    "AutologinUrl": "https://thisisautologinurlfromtherequest.com",
    "Payout": 2.25,
    "Message": "Lead accepted"
}


                
STATUS 200 OK - SUCCESS (async response)

{
    "Result" : "Success",
    "LeadId" : "414ec616488c4abc9e42e40c24c0c38e",
    "Message" : "Lead accepted"
}
                
STATUS 200 OK - SUCCESS (DELAYED SELLING)

{
    "Result" : "Success",
    "LeadId" : "414ec616488c4abc9e42e40c24c0c38e",
    "Message" : "Lead accepted - Delayed lead selling"
}
                
STATUS 200 OK - REJECTED

{
    "Result": "Failed",
    "LeadId": "9f57b396d89c408190ba1ec4cc93a61d68x66",
    "AutologinUrl": "",
    "Message": "Lead rejected by lead buyer"
}

                

Testing

In order to post test lead include post_test=true parameter in the request URL as GET parameter

List values