🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Infobip SMS Premium Add-on Setup Guide

Updated 9 min read Gravity Forms Notifications & Email
On this page
  1. Video walkthrough
  2. What you need
  3. Step 1: install and connect
  4. The other settings
  5. Step 2: add a feed to a form
  6. Send to
  7. Sender
  8. Message
  9. Links
  10. More message options
  11. Condition
  12. What happens after a submission
  13. Message ids that cannot be sent twice
  14. Retries
  15. Delivery reports
  16. Entry list actions
  17. Merge tags and notifications
  18. Use with payments
  19. For developers
  20. Privacy and security
  21. Troubleshooting
  22. Questions
  23. Do I pay GravityExtra for the texts?
  24. Can I text the number the visitor typed?
  25. Does it send WhatsApp, Viber or e-mail through Infobip?
  26. Can two sites use the same Infobip account?

Video walkthrough

Gravity Forms Infobip SMS Add-On Setup Guide: Base URL, API Key & Feeds (WordPress Side)
Video setup guide: Gravity Forms Infobip SMS Watch on YouTube

The Gravity Forms Infobip SMS Premium Add-on sends a text message through your own Infobip account when a Gravity Forms form is submitted. A feed decides who gets the text (one or more numbers you type, the number the visitor typed, or both), what it says (with merge tags) and when it is sent (conditional logic). The text is sent in the background, so the visitor never waits, and the result is written to the entry. Infobip is asked for the delivery report, so every entry shows whether each text arrived.

What you need

  • WordPress 5.8 or newer, PHP 7.4 or newer and Gravity Forms 2.5 or newer. Tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • An Infobip account. Signing up is free and starts a 60 day trial without a card; during the trial Infobip only sends to the numbers you verified, from the sender ServiceSMS.
  • Your personal base URL (it looks like abc123.api.infobip.com) and an API key with the sms:message:send scope. Both are in the Infobip portal.
  • Your GravityExtra licence key. Without an active licence nothing is sent and the entry gets a note that says so.

The add-on follows the Infobip API reference read on 26 October 2026 (OpenAPI version 3.255.0): it sends with POST /sms/3/messages and asks for delivery reports with GET /sms/3/reports, on your own base URL, with the header Authorization: App and your key.

Step 1: install and connect

  1. Upload and activate the add-on in Plugins.
  2. Open Forms → Settings → Infobip SMS and activate your licence key.
  3. Enter the Base URL exactly as the Infobip portal shows it, and the API key. Press Save.
  4. Press Check the connection. The add-on asks Infobip for the account balance. Nothing is sent and nothing is charged. A key made only for sending may not read the balance; the check then says that Infobip knows the base URL and key, which is enough.
The Infobip SMS settings screen in Gravity Forms: the licence box, the Infobip base URL, the encrypted API key, the default country code, the default sender, delivery reports, the daily cap and the Check the connection button
The settings: your own Infobip base URL and API key, stored encrypted, and the defaults for every feed.

The API key is encrypted before it is saved, with a key made from your site’s own security salts, and it is never shown again. Leave the box empty to keep the stored key, or tick Remove the stored API key when saving to delete it. The add-on only accepts a base URL under api.infobip.com, so the key can never be sent anywhere else.

The other settings

  • Default country calling code: digits only, for example 1, 44 or 49. A number typed without + or 00 gets this code, and a leading 0 is dropped.
  • Default sender: used by feeds without a sender. A number of your Infobip account or an alphanumeric sender of up to 11 letters and digits. Some countries need the sender registered first. During the trial use ServiceSMS. Empty: the default of your Infobip account.
  • Delivery reports: Check with Infobip (the default) or Off. See Delivery reports below.
  • Daily cap of texts: after this many texts in one day (UTC), over all feeds, the add-on stops and writes a note. Empty or 0 means no cap.

Step 2: add a feed to a form

  1. Open the form, go to Settings → Infobip SMS and press Add New.
  2. Give the feed a name that says what it does, for example Booking alert.
  3. Fill in Send to, the Sender if this feed needs its own, and the Message.
  4. Turn on the Condition if the text is only for some entries, then save.
An Infobip SMS feed: send to a typed number and the phone field of the form, the sender, the message with merge tags, the link option, the more options table and the condition
A feed: who gets the text, from which sender, what it says and when it is sent.

Send to

Type one or more numbers separated by commas, and add the merge tag of a Phone field to text the visitor, for example +15551234567, {Mobile:3}. Up to 10 numbers per feed and entry, all sent in one request. Numbers can be typed the way people type them: with spaces, dashes and brackets, with + or 00, or with a local leading 0 (the default country calling code is added). A value that cannot be a phone number is skipped and the note says how many were skipped.

Sender

A number of your Infobip account or an alphanumeric sender of up to 11 letters and digits. Recipients cannot reply to an alphanumeric sender. Leave it empty to use the default sender of the settings. A sender that comes from a merge tag and is not valid stops the text with a note instead of sending from a sender you did not choose.

Message

Write the text and use the merge tag button to add the answers of the form. HTML is removed, line breaks are kept and the text is cut after 1,224 characters. A text that only uses the standard GSM alphabet is one part of up to 160 characters, or parts of 153 characters; an emoji or a letter outside that alphabet makes every part hold 70 characters. Infobip bills each part.

Tick Let Infobip shorten the links in the text to have Infobip shorten every link of the message.

More message options

A small table of extra fields that Infobip accepts for a message. Pick the option name or type it, then choose a form field or type a value (merge tags work).

  • callbackData: your own reference, returned with the delivery report. Default: gf-entry id-feed id.
  • campaignReferenceId: groups texts in Infobip reports, for example autumn-offer.
  • validityPeriod: how many minutes Infobip keeps trying to deliver, 1 to 2880.
  • flash: true sends a flash SMS that opens on the screen at once.
  • transliteration: for example TURKISH, GREEK, CYRILLIC or ALL, to replace letters the phone might not show.
  • entityId and applicationId: for Infobip accounts that use them.

An option that is not one of these is ignored, and a value that is not valid (for example a validity of 9000 minutes) is left out. Both are written in the entry note.

Condition

The same rules as Gravity Forms notifications: send only for the Premium plan, only when the Urgent box is ticked, only for one country, and so on. A form can have as many feeds as you like, each with its own numbers, sender, text and condition.

What happens after a submission

The entry is saved and the confirmation is shown at once. A background job then sends the texts of each matching feed to Infobip in one request and writes a note on the entry: how many texts Infobip accepted, each number masked to its last four digits, the message id and the number of parts. A number that Infobip refuses is listed with Infobip’s status, for example REJECTED_DESTINATION, and its description.

The Infobip SMS box on a Gravity Forms entry: each number masked, accepted, its message id and the delivery report
Every text on the entry: masked number, message id and the delivery report from Infobip.

Message ids that cannot be sent twice

Every text gets its own message id, made from your site, the entry, the feed and the number. Infobip refuses a message id it has already seen, so a request that is repeated after a connection problem cannot deliver the same text twice. Sending an entry again on purpose (see the entry list actions) uses new ids.

Retries

  • When Infobip cannot be reached at all (the name does not resolve, the connection is refused) or answers 429 Too Many Requests, nothing was sent, so the job tries again after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, with the same message ids. A longer Retry-After from Infobip wins.
  • When the request may have reached Infobip but no clear answer came back (a time-out after the request left, a reset connection, an HTTP 5xx answer, or an answer that cannot be read), the add-on does not send it again. The entry is marked as unsure and the note gives the message id to look for in your Infobip logs.
  • Refusals (a wrong key, a key without the sms:message:send scope, an invalid request) are final and explained in the note.
  • A job for an entry that was already sent does nothing, and a lock stops two jobs from sending the same entry at the same time.

Delivery reports

With Check with Infobip on, the add-on asks Infobip for the delivery report of each accepted text after 1, 5 and 15 minutes, 1 hour, 6 hours and 24 hours, until every text has a final status: delivered, or not delivered with Infobip’s reason (undeliverable, expired or rejected, with the error name). After the last check a text without a final report is marked as no final delivery report. Infobip hands out each report once and keeps reports for 48 hours, so switch the setting to Off when your Infobip account already sends the reports to another system.

Entry list actions

  • Send Infobip SMS (skip sent): sends the texts of the selected entries that have not been sent. Entries that are sent, being sent or unsure are skipped.
  • Send Infobip SMS again (sends another text): sends again on purpose, with new message ids, for example after you checked that an unsure text never arrived.

Merge tags and notifications

Use these merge tags in notifications and confirmations. Add _ and a feed id to read one feed, for example {infobip_status_12}; without it the newest result of the entry is used.

  • {infobip_status}: queued, retrying, sending, sent, partial, unsure or fail.
  • {infobip_message_id}: the message id of the first accepted text.
  • {infobip_delivery}: pending, delivered, undelivered, unknown or none.
  • {infobip_sent_count}: how many texts Infobip accepted.

Forms with an Infobip SMS feed also get four notification events: Infobip: the SMS was sent, Infobip: the SMS could not be sent, Infobip: the SMS was delivered and Infobip: the SMS was not delivered. Each one is sent once per entry and feed.

Use with payments

The feeds follow the Gravity Forms add-on framework, so a payment add-on that delays feeds until the payment is complete also delays the text: an order text goes out only for paid orders.

For developers

  • gform_infobip_message (filter, also per form and per feed): change to, from, body, shorten_url and extras before the text is sent; return something that is not an array to cancel the text for this entry (a note says so).
  • gfib_sms_sent (action): Infobip accepted at least one text. Arguments: the result, the entry, the feed and the form.
  • gfib_sms_failed (action): nothing was accepted, or the result is unsure. Arguments: the entry, the feed, the form and the reason.
  • gfib_delivery (action): every accepted text has a final delivery report, or the checks ended.

Privacy and security

The numbers and the text are sent to Infobip, on your base URL, to send the SMS, and Infobip is asked for the delivery report. Infobip processes them under its own terms, so mention Infobip in your privacy policy and ask for consent before you text visitors. Entry notes keep only the last four digits of each number. The API key is encrypted at rest, only sent in the authorisation header to your base URL, and never written to a note.

Troubleshooting

  • Nothing is sent: read the entry notes. Every reason is written there: no licence, no base URL or key, no valid number, an empty message, the daily cap, or Infobip’s own answer.
  • HTTP 401: the API key or the base URL is wrong. Copy both again from the Infobip portal and use Check the connection.
  • HTTP 403: the key has no sms:message:send scope. Create a key with that scope.
  • REJECTED_DESTINATION_NOT_REGISTERED during the trial: Infobip only sends to the numbers you verified. Verify the number or move to a paid account.
  • REJECTED_SOURCE: the sender is not registered on your account. Register it in the Infobip portal or leave the sender empty.
  • The entry says unsure: look for the message id from the note in your Infobip logs before you use Send again.

Questions

Do I pay GravityExtra for the texts?

No. Infobip bills the texts to your own account. The add-on is a licence for the software, updates and support.

Can I text the number the visitor typed?

Yes. Put the merge tag of the Phone field in Send to. You can mix it with typed numbers.

Does it send WhatsApp, Viber or e-mail through Infobip?

No. The add-on sends SMS only.

Can two sites use the same Infobip account?

Yes. The message ids carry a short tag of each site, so they never clash.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr