Sample Creative

🏡 Love Your Bathroom Again!

Whether it's a leaking bathroom, an outdated shower, or the need for a safer walk-in tub, our experts are here to help.

✅ Bathroom Repairs
✅ Shower Remodeling
✅ Walk-In Tub Installation

Transform your bathroom into a safer, more beautiful space with quality craftsmanship and professional installation.

Get your FREE, no-obligation quote today!
By submitting your information, you agree to be contacted by our partners and their service providers via phone call, text message (SMS/MMS), and/or email at the contact information you provided, including through the use of an automatic telephone dialing system or prerecorded/artificial voice, even if your number is listed on a federal, state, or internal Do Not Call list. Consent is not a condition of purchasing any goods or services. Message and data rates may apply.

You may also use your website's current TCPA if available.

Adcopy

🏡 Love Your Bathroom Again!

Whether it's a leaking bathroom, an outdated shower, or the need for a safer walk-in tub, our experts are here to help.

✅ Bathroom Repairs
✅ Shower Remodeling
✅ Walk-In Tub Installation

Transform your bathroom into a safer, more beautiful space with quality craftsmanship and professional installation.

Get your FREE, no-obligation quote today!

TCPA

By submitting your information, you agree to be contacted by our partners and their service providers via phone call, text message (SMS/MMS), and/or email at the contact information you provided, including through the use of an automatic telephone dialing system or prerecorded/artificial voice, even if your number is listed on a federal, state, or internal Do Not Call list. Consent is not a condition of purchasing any goods or services. Message and data rates may apply.

You may also use your website's current TCPA if available.

Banner To use


Other Details

No Other Details


Ping Instructions



Fields

The following fields will be captured by this campaign. For examples of how to submit these fields, please see the examples below.

Field Name Type Format Required Label Description
rcm_campaign_id Numeric 1234 REQUIRED Campaign ID Must be set to: 6357
rcm_aff_id Numeric 1234 REQUIRED Affiliate ID Ask this value from your Account Manager
e.g. 3417
rcm_aff_sub Text Any Text OPTIONAL Affiliate Sub ID pass here your subids
e.g. mysubid1
user_agent Text Any Text REQUIRED Browser User Agent must be between 1 and 500 characters.
vendor_lead_id Text Any Text REQUIRED Vendor Lead Id must be between 1 and 500 characters. Your internal ID for this lead (useful if we need to contact you about a specific lead and when processing returns), e.g. '20596373'
source_url Url With Protocol e.g. http:// or https:// REQUIRED Source URL must be a valid Url with protocol e.g. http://example.com or https://example.com . URL of form where lead was generated
minimum_price Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Minimum Price must be a number e.g. 123, 456 or 1.2, 2.5 Minimum price you would accept for this lead, NOTE: For test leads (i.e. where lead_mode=0), our 'buyers' return very low prices (for safety). Please set it to just '0.01' when testing to ensure you receive the expected responses. WARNING: Setting a minimum_price will cause you to sell fewer leads!
zip_code PostalCode 5 digits e.g. 01561 REQUIRED Zip Code must be a 5-digit number in the format 12345
task MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Task task Accepted Values
Label Value
Bathroom Repairs 145
Shower Remodeling 144
Walk In Tub Installation 143
tcpa_text Text Any Text REQUIRED TCPA Text must be between 1 and 500 characters. . The TCPA disclosure presented to the consumer on the form where their information was submitted.
xxTrustedFormCertUrl Url With Protocol e.g. http:// or https:// REQUIRED Trusted Form Url must be a valid Url with protocol e.g. http://example.com or https://example.com
date_lead_posted_timezone MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Date Lead Posted Timezone date_lead_posted_timezone Accepted Values
Label Value
CST/EDT 2
EST/EDT 1
MST/MDT 3
PST/PDT 4
date_lead_posted DateTime yyyy-mm-dd hh:mm:ss (24 hour format) REQUIRED Date Lead Posted must be a valid datetime in 24 hour format yyyy-mm-dd hh:mm:ss . Date/time when lead was submitted by consumer.
ip_address IpAddress Both IpV4AndV6 e.g. 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334 REQUIRED Ip Address must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1) or IPv6 Format (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
timeframe MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Timeframe timeframe Accepted Values
Label Value
1 to 2 Weeks 2
3 to 4 Weeks 3
5 to 6 Weels 4
7 to 8 Weels 5
9 to 12 Weels 6
Timing is Flexible 1
home_owner MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Homeowner home_owner Accepted Values
Label Value
No 0
Yes 1
Commercial Property 2
project_status MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Project Status project_status Accepted Values
Label Value
Ready to Hire 2
Planning and Budgeting 1

Posting leads

We only accept POST HTTP requests. Requests can be sent either as FORM or JSON.

Method: POST
URL: https://api-leaddepot.offerwings.com/api/v1/lead/ping/
FORM

Headers:

Content-Type: application/x-www-form-urlencoded

Payload:



rcm_campaign_id=6357&rcm_aff_id=1&user_agent=samplevalue&vendor_lead_id=samplevalue&source_url=samplevalue&minimum_price=samplevalue&zip_code=samplevalue&task=samplevalue&tcpa_text=samplevalue&xxTrustedFormCertUrl=samplevalue&date_lead_posted_timezone=samplevalue&date_lead_posted=samplevalue&ip_address=samplevalue&timeframe=samplevalue&home_owner=samplevalue&project_status=samplevalue
                                        
JSON

Headers:

Content-Type: application/json

Payload:

                        
{
    "rcm_campaign_id": "6357",
    "rcm_aff_id": "1",
    "rcm_aff_sub": "mysub1",
    "user_agent" : "Any Text"     ,
    "vendor_lead_id" : "Any Text"     ,
    "source_url" : "https://example.com"     ,
    "minimum_price" : "1234"     ,
    "zip_code" : "01561"     ,
    "task" : "see the list of allowed value"     ,
    "tcpa_text" : "Any Text"     ,
    "xxTrustedFormCertUrl" : "https://example.com"     ,
    "date_lead_posted_timezone" : "see the list of allowed value"     ,
    "date_lead_posted" : "1980-12-21 23:58:59"     ,
    "ip_address" : "192.168.1.1"     ,
    "timeframe" : "see the list of allowed value"     ,
    "home_owner" : "see the list of allowed value"     ,
    "project_status" : "see the list of allowed value" 
}
                        
                    

Ping Responses

All responses are sent back in JSON format. There are 2 possible responses: rejected, success.

Ping Rejected response

                            
{
    "rcm_campaign_id": "6357",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "rejected", 
    "pixel": null
}

Ping Success response


{
    "rcm_campaign_id": "6357",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "success",
    "pixel": "success=true;"
}

Here's a full example of successful ping response


{
    "campaign_id": "6356",
    "aff_id": "1",
    "result": {
        "Response": "Accepted",
        "Confirmation": "31637286",
        "Price": "0.35"
    },
    "status": "success",
    "pixel": null,
    "pixelEv": "SUCCESS"
}
A successful ping always returns "status": "success" and a confirmation id. Check the result object for a value similar to this "Confirmation": "31637286", . Save this Confirmation id, as you will need to include it when you post the lead to us. It will also return a Price like this "Price": 0.35 . This is the amount we estimate you will be paid when the full lead is posted.

Testing

When submitting a test leads, use the lowest possible minimum_price. For example "minimum_price ": "0.01", using a low minimum price gives your test lead a higher chance of receiving a successful response.



Validation Error

A validation error occurs when the submitted data does not meet the rules defined in the posting instructions. If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.

Example Of Validation Error

                            
{
    "data": {
        "email": [
            "The email field is required."
        ],
        "ip_address": [
            "The ip address field is required."
        ]
    },
    "message": "Validation Errors",
    "posting_instruction": "http://api-leaddepot.offerwings.test:8000/campaign/posting-instruction/...",
    "status": "Operation failed."
}


Post Instructions



Fields

The following fields will be captured by this campaign. For examples of how to submit these fields, please see the examples below.

Field Name Type Format Required Label Description
rcm_campaign_id Numeric 1234 REQUIRED Campaign ID Must be set to: 6357
rcm_aff_id Numeric 1234 REQUIRED Affiliate ID Ask this value from your Account Manager
e.g. 3417
rcm_aff_sub Text Any Text OPTIONAL Affiliate Sub ID pass here your subids
e.g. mysubid1
date_lead_posted_timezone MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Date Lead Posted Timezone date_lead_posted_timezone Accepted Values
Label Value
CST / CDT 2
EST / EDT 1
MST / MDT 3
PST / PDT 4
date_lead_posted DateTime yyyy-mm-dd hh:mm:ss (24 hour format) REQUIRED Date Lead Posted must be a valid datetime in 24 hour format yyyy-mm-dd hh:mm:ss
ip_address IpAddress IpV4Only e.g. 192.168.1.1 REQUIRED Ip Address must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1)
user_agent Text Any Text REQUIRED Browser User Agent must be between 1 and 500 characters.
vendor_lead_id Text Any Text REQUIRED Vendor Lead Id must be between 1 and 500 characters. Your internal ID for this lead (useful if we need to contact you about a specific lead and when processing returns), e.g. '20596373'
source_url Url With Protocol e.g. http:// or https:// REQUIRED Source URL must be a valid Url with protocol e.g. http://example.com or https://example.com . URL of form where lead was generated
minimum_price Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Minimum Price must be a number e.g. 123, 456 or 1.2, 2.5 Minimum price you would accept for this lead, NOTE: For test leads (i.e. where lead_mode=0), our 'buyers' return very low prices (for safety). Please set it to just '0.01' when testing to ensure you receive the expected responses. WARNING: Setting a minimum_price will cause you to sell fewer leads!
first_name Text Any Text REQUIRED First Name must be between 1 and 500 characters.
last_name Text Any Text REQUIRED Last Name must be between 1 and 500 characters.
email Email Any Valid Email REQUIRED Email must be a valid email address.
address Text Any Text REQUIRED Address must be between 1 and 500 characters.
zip_code PostalCode 5 digits e.g. 01561 REQUIRED Zip Code must be a 5-digit number in the format 12345
primary_phone Phone 1234567890 REQUIRED Primary Phone must be a 10-digit number in the format 1234567890.
secondary_phone Phone 1234567890 OPTIONAL Secondary Phone must be a 10-digit number in the format 1234567890.
task MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Task task Accepted Values
Label Value
Bathroom Repairs 145
Shower Remodeling 144
Walk In Tub Installation 143
timeframe MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Timeframe timeframe Accepted Values
Label Value
3 to 4 Week 3
1 to 2 Weeks 2
5 to 6 Weeks 4
7 to 8 Weeks 5
9 to 12 Weeks 6
Timing is Flexible 1
home_owner MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Does consumer own their home? home_owner Accepted Values
Label Value
No 0
Yes 1
Commercial Property 2
project_status MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Project Status project_status Accepted Values
Label Value
Ready to Hire 1
Planning and Budgeting 2
confirmation_id Text Any Text REQUIRED Confirmation ID must be between 1 and 500 characters. The confirmation ID returned from a successful ping for the lead.
tcpa_text Text Any Text REQUIRED TCPA Text must be between 1 and 500 characters. . The TCPA disclosure presented to the consumer on the form where their information was submitted.
xxTrustedFormCertUrl Url With Protocol e.g. http:// or https:// REQUIRED Trusted Form Url must be a valid Url with protocol e.g. http://example.com or https://example.com

Posting leads

We only accept POST HTTP requests. Requests can be sent either as FORM or JSON.

Method: POST
URL: https://api-leaddepot.offerwings.com/api/v1/lead/receive/
FORM

Headers:

Content-Type: application/x-www-form-urlencoded

Payload:



rcm_campaign_id=6357&rcm_aff_id=1&date_lead_posted_timezone=samplevalue&date_lead_posted=samplevalue&ip_address=samplevalue&user_agent=samplevalue&vendor_lead_id=samplevalue&source_url=samplevalue&minimum_price=samplevalue&first_name=samplevalue&last_name=samplevalue&email=samplevalue&address=samplevalue&zip_code=samplevalue&primary_phone=samplevalue&secondary_phone=samplevalue&task=samplevalue&timeframe=samplevalue&home_owner=samplevalue&project_status=samplevalue&confirmation_id=samplevalue&tcpa_text=samplevalue&xxTrustedFormCertUrl=samplevalue
                                        
JSON

Headers:

Content-Type: application/json

Payload:

                        
{
    "rcm_campaign_id": "6357",
    "rcm_aff_id": "1",
    "rcm_aff_sub": "mysub1",
    "date_lead_posted_timezone" : "see the list of allowed value"     ,
    "date_lead_posted" : "1980-12-21 23:58:59"     ,
    "ip_address" : "192.168.1.1"     ,
    "user_agent" : "Any Text"     ,
    "vendor_lead_id" : "Any Text"     ,
    "source_url" : "https://example.com"     ,
    "minimum_price" : "1234"     ,
    "first_name" : "John"     ,
    "last_name" : "Smith"     ,
    "email" : "burt@testmail.com"     ,
    "address" : "123 main street"     ,
    "zip_code" : "01561"     ,
    "primary_phone" : "1234567890"     ,
    "secondary_phone" : "1234567890"     ,
    "task" : "see the list of allowed value"     ,
    "timeframe" : "see the list of allowed value"     ,
    "home_owner" : "see the list of allowed value"     ,
    "project_status" : "see the list of allowed value"     ,
    "confirmation_id" : "Any Text"     ,
    "tcpa_text" : "Any Text"     ,
    "xxTrustedFormCertUrl" : "https://example.com" 
}
                        
                    

Post Responses

All responses are sent back in JSON format. There are 2 possible responses: rejected, success.

Post Rejected response

                            
{
    "rcm_campaign_id": "6357",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "rejected", 
    "pixel": null
}

Post Success response


{
    "rcm_campaign_id": "6357",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "success",
    "pixel": "success=true;"
}

Here's a full example of successful post response


{
    "campaign_id": "6357",
    "aff_id": "1",
    "result": {
        "Response": "Accepted",
        "Confirmation": "31637286",
        "Price": "0.35",
    },
    "status": "success",
    "pixel": null,
    "pixelEv": "SUCCESS"
}
Pay attention to this:
A successful post always returns "status": "success" .
Price -This is the amount you earned for this transaction.

Testing

When submitting a test leads, use the lowest possible minimum_price. For example "minimum_price ": "0.01", using a low minimum price gives your test lead a higher chance of receiving a successful response.




Validation Error

A validation error occurs when the submitted data does not meet the rules defined in the posting instructions. If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.

Example Of Validation Error

                            
{
    "data": {
        "email": [
            "The email field is required."
        ],
        "ip_address": [
            "The ip address field is required."
        ]
    },
    "message": "Validation Errors",
    "posting_instruction": "http://api-leaddepot.offerwings.test:8000/campaign/posting-instruction/...",
    "status": "Operation failed."
}