pc_test_. Every response to one carries the header Pipecorn-Mode: test.
Try it without an account
The public demo keypc_test_demo works for everyone, so you or an agent can make a first call before signing up.
Location header. Poll the status_url with the same key and you get the finished enrichment, with an email and a phone number.
Your own test key
Your test key is on Settings › API keys, under the live key. Send it in theX-API-KEY header like a live key. You can rotate it there at any time; the old one stops working at once.
There is no test workspace key. Use your test key in X-API-KEY while you build, then move to X-WORKSPACE-KEY when you go live.
What the sandbox returns
- Every documented endpoint answers on
app.pipecorn.com/api/v2, with sample data in the shape the live endpoint returns. The people and companies are invented: emails use the reserved.exampledomain and phone numbers come from fictional ranges. - The data source follows your request. Endpoints that search LinkedIn by default (lead and account searches, previews, headcount) return the live shape unless you send
"live": false, as in production.POST /locationsfollowssource. - It is stateless. A
POSTreturns a sample and stores nothing. AGETby id returns a sample whatever the id, so a list you create will not appear inGET /lists. - Request bodies are not validated. A request the live API would reject with a
400or422can succeed in the sandbox. Use simulated errors to test your error handling. - Nothing runs in the background. Webhooks are not sent, and async endpoints hand back their acknowledgement with no job behind it. Poll the matching
GETto read a finished sample. - An endpoint the sandbox has no sample for answers
404with a link to this page.
Simulate errors
Add thePipecorn-Sandbox-Status header to any request to get the error the live API sends for that status, with the same body.
Any other value answers
400 with {"error": "Pipecorn-Sandbox-Status must be one of 400, 401, 402, 403, 404, 409, 422, 429"}. See Errors for what each status means.
Rate limit
A test key allows 60 requests per minute. The demo key allows 60 per minute for each IP address. Responses carry the sameRateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers as the live API, and a 429 adds Retry-After. See Rate limiting.
Going live
- Replace the test key with your live key or workspace key.
- Check that responses no longer carry
Pipecorn-Mode: test. - Keep your error handling: credit, quota and rate limit errors now come from your real balance and plan.