AFI AFI

EZ Texting

Estimated reading: 3 minutes Updated July 31, 2026

EZ Texting is a bulk SMS and text message marketing platform. Advanced Form Integration adds contacts to your EZ Texting account from WordPress form submissions, so every sign-up or lead capture can be enrolled in your SMS campaigns.

What you’ll need

  • An active EZ Texting account.
  • An EZ Texting App Key and App Secret (see below).
  • The Advanced Form Integration plugin installed and activated.

Get your EZ Texting API credentials

EZ Texting uses an App Key / App Secret pair that AFI exchanges for a temporary access token via a.eztexting.com/v1/tokens/create. The token is cached until expiry and automatically refreshed.

  1. Sign in to your EZ Texting account.
  2. Open your Profile → API settings.
  3. Create an App Key / App Secret pair and copy both values.
  4. In WordPress, go to AFI → Settings → EZ Texting.
  5. Click Add Account, paste the App Key and App Secret, and give the account a name.
  6. Click Save.

Create the integration

  1. Go to AFI → Add New.
  2. Give the integration a name, for example SMS signup to EZ Texting.
  3. Under Trigger, pick the form plugin and the specific form.
  4. Under Action → Platform, select EZ Texting.
  5. In Task, choose Create Contact.
  6. Pick the saved account in the EZ Texting Account dropdown.
  7. Map your form fields onto the EZ Texting fields listed below.
  8. Optional: open Conditional Logic to limit which submissions are sent.
  9. Click Save Integration.

Tasks supported

Create Contact

Creates a contact via POST /v1/contacts on api.eztexting.com. The phone number is required. Bearer authentication is handled automatically by AFI.

Field Field key Required Notes
Phone Number phoneNumber Yes E.164 format or digits only
First Name firstName No
Last Name lastName No
Email email No
Note note No
Group IDs groupIds No Comma-separated group IDs

Pro features

The Pro integration extends the free version with a custom fields repeater and an opt-in status selector. Pro uses the same EZ Texting credential store.

Custom fields

Pro adds a table where you enter the exact custom field name configured in EZ Texting and the value or trigger tag. Custom fields are sent alongside the standard payload.

Opt-in status

Pro lets you explicitly set the contact’s opt-in status: OPT_IN (only with verified consent), OPT_OUT, or leave it to EZ Texting’s default.

Feature comparison

Feature Free Pro
Create contact
Standard fields (name, email, phone, note, groups)
Custom fields No
Opt-in status control No

Conditional logic example

Only add contacts who explicitly opted in to SMS. Add a condition on sms_consent being “yes”. Submissions without consent still go through other integrations (e.g. email only).

Troubleshooting

Token exchange fails

AFI surfaces the EZ Texting error in the log. Verify the App Key and App Secret are correct and that your EZ Texting plan includes API access.

401 on contact creation

The cached access token may have expired or been revoked. AFI automatically retries once with a fresh token on HTTP 401. If it persists, re-enter your App Key and App Secret in settings.

Related docs