<aside> 💡 Do you have a Free Site or a website generating Free Leads by Email? Then we’re interested in buying your Leads! You can also use our Free Leads API endpoint to create free account for your Bang! Your own branded Video Streaming service!
</aside>
https://affiliates.bang.com/api/lead
Every new user gets 1 free video and you get paid for all of the upcoming subscriptions!
# POST request:
curl <https://api.bang.com/affiliate/lead> -X POST \\
-H 'Authorization: Affiliate YOUR-API-KEY' \\
-H 'Content-Type: application/json' \\
-d '{"aff":"AFF","email":"CUSTOMER_EMAIL","ip":"CUSTOMER_IP"}'
This will create a new BANG! account linked to your affiliate account
YOUR-API-KEY available at affiliates.bang.com/apiAFF = your AFFILIATE IDCUSTOMER_EMAIL and ip address CUSTOMER_IPIn case of SUCCESS the API will return a JSON response with a 200 status code
{
"status": "success",
"login_link": "<https://www.bang.com/?atg=XXX>",
"email": "CUSTOMER_EMAIL",
"username": "CUSTOMER_USERNAME",
"password": "CUSTOMER_PASSWORD"
}
In case of ERROR the API will return a JSON response with a 400 status code
{
"status": "failed",
"errors":
{
"error description 1",
...,
"error description last"
}
}