Skip to content

Instantly share code, notes, and snippets.

@brianstarke
Last active December 12, 2016 19:09
Show Gist options
  • Save brianstarke/13310c66b8749287fee2dfe3d171fe3b to your computer and use it in GitHub Desktop.
Save brianstarke/13310c66b8749287fee2dfe3d171fe3b to your computer and use it in GitHub Desktop.

API

Requests

CURL

curl -X PUT "https://services.credibilitycapital.com/leads/YOUR_API_KEY" \
    -H "Content-Type: application/json; charset=utf-8" \
    --data-raw "$body"

Body Parameters

  • All fields are optional unless marked "REQUIRED" below.
{
  "partnerLeadId": "TEST-LEAD-ID",              // for your reference (optional)
  "company": "Test Business, LLC",              // REQUIRED
  "firstName": "Ellen",                         // REQUIRED
  "lastName": "Someperson",                     // REQUIRED
  "street": "301 Warren St., Apt 4",            
  "city": "Brooklyn",                           
  "state": "NY",                                
  "zipCode": "11201",                           
  "emailAddress": "esomeperson@aol.com",        // REQUIRED
  "phoneNumber": "917-414-5090",                // REQUIRED
  "businessStreet": "419 Park Ave. S., 8th Floor",
  "businessCity": "New York",
  "businessState": "NY",
  "businessZipCode": "10016",
  "businessPhone": "212-555-1212",
  "NAICS": "500701",
  "annualSales": "120k",
  "yearEstablished": "2012",
  "loanReason": "Buyout a partner",
  "loanAmount": "120000",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment