Lookup email
Check if user exists on Link network
Last updated
Check if user exists on Link network
Last updated
Quick example: https://loginwithlink.com/api/lookup-email?email=m@rkmoriarty.com&STRIPE_PUBLIC_KEY=pk_live_51JocsEAGmp0k5LnwNUl7SJzZMhMMcMJ4X4PWg928nJLm5ocPpzHLhBOBMbTLBrXPYdkepbg9HX0AJFY8ixt2bXTV00vg5Ja3DP <- That uses my public key — please use your own once you get the idea!
This is a GET request.
Include the following query parameters
Parameter | Example |
---|---|
In total, your request will look like this
e.g., if using `fetch`, you might compose a request like so:
The response will look something like this, if a match is found:
You will see "userExistsOnLink": false
if user is not found on Link.
m@rkmoriarty.com
STRIPE_PUBLIC_KEY
pk_live_51JocsEAGmp0k5LnwNUl7SJzZMhMMcMJ4X4PWg928nJLm5ocPpzHLhBOBMbTLBrXPYdkepbg9HX0AJFY8ixt2bXTV00vg5Ja3DP