From something happening.
To your phone buzzing.
A lead comes in. Your app tells SelfPing. You get a text on your own phone.
Try the example below. It's a preview, so it won't send a text to you or anyone else.
Try it on my phoneVerify your phone. Get a free welcome text.
From your form to your phone
Interactive preview. No text is sent.
Your website
Let's work together.
Tell us a little about your project.
Edit the sample details, then try it.
Your phone
Messagesnow
SelfPing
New lead: Sam Taylor (sam@example.com). Hi! Could you help us build a new website?
The alert goes to you, not your visitor.
Here's the code behind an alert
After your form saves a lead, make this request from your server. SelfPing texts the phone that owns the key. Running the real request uses one credit.
Server-side JavaScript
await fetch("https://www.selfping.com/api/sms", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.SELFPING_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
message: "A new lead came in. Check your inbox.",
}),
});