Contrib API Documentation

API Home

Domain Methods

Member Methods

Country Methods

Add leads to a domain

Method

POST

URL

http://api.contrib.com/request/addleads?key={api_key}

Making a Request

Available post request parameters are:
  • domain — domain name (should be in contrib/vnoc system).
  • email — User email (required).
  • ip_address — User ip address (optional)

  • Sample Request

    curl
    H "Accept: application/json"
    -d 'domain={domain}&email={email}&ip_address={ip_address}'
    http://api.contrib.com/request/addleads?key={api_key}

API Responses

sample json data:
{"data":{"id":13158}}"

  • Id — Lead Id.

API Errors

{"error":"Email is required"}
{"error":"Api key is required"}
{"error":"Domain is required"}
{"error":"Domain does not exist"}
{"error":"Invalid api key"}
{"error":"Email exists"}