Skip to content

Instantly share code, notes, and snippets.

@activeprospect-support
Last active January 14, 2019 14:40
Show Gist options
  • Save activeprospect-support/864fc7b0372ec71b8857 to your computer and use it in GitHub Desktop.
Save activeprospect-support/864fc7b0372ec71b8857 to your computer and use it in GitHub Desktop.
Sample lead
curl -v -X POST
https://app.leadconduit.com/flows/5462c7eb76fefd217d333552/sources/5462c7fb745fb567baf2e093/submit \
-H ‘Accept:application/json` \
-H `Content-Type:application/x-www-form-urlencoded` \
-d `first_name=John&last_name=Doe&phone_1=(512)%20789-1111&email=jdoe%40test.com&mortgage.property.state=TX&mortgage.loan.purpose=purchase&mortgage.loan.amount=100000&mortgage.loan.down_payment=20000&mortgage.property.use=primary&mortgage.property.type=single%20family&mortgage.property.postal_code=78751’
> HTTP/1.1 201 Created
> Connection: keep-alive
> Content-Length: 66
> Content-Type: application/json
> Date: Wed, 12 Nov 2014 02:53:46 GMT
>
> { "outcome": "success", "lead": { "id": "5462cdc5869bdb81148ece10" }, "price": 0 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment