Skip to content
Lazyform
All integrations

Alerts

SMS

Get a text message for each lead.

Connect SMSProNeeds the Pro planSee pricing

The SMS integration sends a text message to your phone each time someone submits your form. It works on any phone, with no app to install.

Needs the Pro plan.

What you need

  • Phone number: the mobile number the texts go to, in international format. Start with + and the country code, then the number, with no spaces, dashes or leading zero. For example +15551234567.

Set it up

  1. In the dashboard, open your form, then Integrations, then SMS.
  2. Enter your phone number in international format, for example +15551234567.
  3. Click Send code. We send a 6-digit code to that number by text.
  4. Enter the code and save.

The code proves the number is yours, so nobody can make Lazyform message a number that isn't theirs. It works for 10 minutes and 5 tries. You can ask for a new one after a minute, and a number gets at most 5 codes a day. Changing the number later needs a new code; saving other changes doesn't.

After saving, click Test next to the integration to send a test message.

With the REST API

  1. POST /api/v1/workspaces/{workspaceId}/connections/phone-code with { "type": "sms", "phone": "+15551234567" } sends the code.
  2. Connect with the number and the code: POST /api/v1/workspaces/{workspaceId}/connections with { "type": "sms", "formId": "frm_…", "config": { "phone": "+15551234567", "code": "123456" } }.

See the REST API for the error codes.

What you'll receive

A short text per submission, with the form name, the main fields and a link to the submission in your dashboard. Text messages are short, so long submissions are cut off. Open the link to see everything, including uploaded files.

Troubleshooting

  • "Invalid phone number" when saving. Use international format: +, the country code, then the number, with nothing else. +44 7700 900123 becomes +447700900123.
  • The code doesn't arrive. Check the number, then ask for a new code after a minute. Codes, like test texts, can be filtered by your carrier.
  • The test text doesn't arrive. Check the number is a mobile number that can receive texts. Some carriers filter texts from short codes or unknown senders; check your phone's spam or blocked messages.
  • Some submissions are missing. Spam isn't sent. Check the spam folder and the delivery log in the dashboard, where you can also resend a submission.