Skip to the guide

Send a test lead

Try a vendor's or your own integration safely, then clean up the test.

There's no separate sandbox: a test lead goes into your real account, so it's easy to see exactly what a vendor's leads will look like. Here's how to keep tests tidy.

1. Use a key of its own

Make a posting key on a source called Test (Team, API keys, New posting key). Its leads are easy to find, and you can revoke the key when you're done.

2. Post a lead with made-up details

Use a phone number from 555-0100 to 555-0199 (numbers kept for films and tests, so nobody real gets a call) and an email at example.com (never emailed):

curl https://leadvault.com/api/v1/leads \
  -H "Authorization: Bearer lv_post_..." \
  -d type=mortgage -d first_name=Test -d last_name=Lead \
  -d phone=3105550142 -d email=test@example.com -d state=CA

The answer has the new lead's id, and lists any names LeadVault didn't use under ignored, so you can spot a field with the wrong name.

3. Look at it

Open the lead in LeadVault: check the answers landed in the right questions, the source and who it went to.

Your distribution rules give the test lead to someone, and they get the new-lead alert. Tell them, or try it outside working hours.

4. Clean up

Delete the test lead (managers and admins: its page, A bad lead? Delete it.), and revoke the test key.

For the API's own mistakes, see API errors and how to fix them.

Didn't answer it? Ask us.