Skip to content
  • Why WPGetAPI?
  • Examples
  • Pricing
  • Plugins
    • PRO Plugin
    • API to Posts Plugin
    • OAuth 2.0 Plugin
  • Docs
  • Support
    • Frequently Asked Questions
    • Feature Request
    • Support Ticket
  • account_circle
PRO Plugin
Howdy! How can we help you?
  • Introduction

    • Quick Start
    • Frequently Asked Questions
    • Will this work with my API?
    • Understanding API docs
    • Step by Step Example
  • Setup

    • Setup Page
    • Endpoint Page
    • Parameters - Query String
    • Parameters - Headers
    • Parameters - Body POST
    • Shortcode
    • Template Tag
    • Gutenberg Block
  • Connecting your API

    • API Key in Headers
    • API Key in Query String
    • Authentication & Authorization
  • Output API Data

    • Format API to HTML
    • Format API to HTML Table
    • Format API to Image Gallery
    • Format JSON Data
  • Integrations

    • Send form data to API
    • WPForms to API
    • Gravity Forms to API
    • Contact Form 7 to API
    • WooCommerce to API
    • WooCommerce API Product Sync
    • wpDataTables to API
    • Connect WordPress to OpenAI
    • Connect RapidAPI to WordPress
    • Connect Zoho CRM to WordPress
    • Page Builders (Elementor, DIVI)
    • Formidable Forms to API
    • Elementor Form to API
    • JetFormBuilder to API
    • Fluent Forms to API
    • WS Form to API
    • Ninja Tables to API
    • Easy Digital Downloads(EDD) API Product Sync
    • Ultimate Member Forms to API
  • Tips & Tricks

    • Filters & Action Hooks
    • Code Snippets Plugin
    • Troubleshooting
    • Code Snippets
  • PRO Plugin

    • Installation
    • Actions
    • Tokens
    • Caching
    • Nested data
    • Chaining API calls
    • Dynamic Variables
    • Format API to HTML
    • Call API on user registration
    • Using AJAX to trigger API call
    • Base64 Encoding
    • Licensing
    • Filters & Action Hooks
  • OAuth 2.0 Plugin

    • Installation
    • How it works
    • Grant Type - Client Credentials
    • Grant Type - Authorization Code
    • Licensing
  • API to Posts Plugin

    • Installation
    • Getting Started
    • Multiple Endpoints
    • Mapping Fields
    • Filters & Action Hooks
    • Pagination
Features in this article are available in the PRO Plugin.

Send JeFormBuilder data to any API
In this article we will look at how easy it is to send JeFormBuilder data to an external API.

We will setup a simple lead capture form that will get the users name and email address, and then send this to the Hubspot CRM.

Before you begin

This method allows you to send JeFormBuilder data to an API, but the API data will not be displayed back to the user.

Requirements

  • JetFormBuilder Plugin
  • Free WPGetAPI plugin
  • Pro plugin
  • Hubspot Account

Step 1: Create the form

Our JeFormBuilder form is very simple, just a name and email address.

Set the Call Hook Post Submit Action and assign the hook name to ‘wpgetapi’.


Step 2: Setup API & endpoint

We now need to add the endpoint that we want to send the data to when this form is submitted.

This is the Hubspot API settings required:

At the bottom of this endpoint settings page, we now need to select our Action which is the JetFormBuilder – Lead Capture Form that we setup in the previous step. This means that each time the Lead Capture Form is submitted, this endpoint will be called.

Hubspot API requires you to send Header data as shown in the screenshot and some ‘properties’ data within the Body POST Fields.

You can obtain the authorization token by following the documentation at https://developers.hubspot.com/docs/api/developer-guides-resources.

You can see we have set the ‘properties’ with a value of : {"email":"(action:email)","firstname":"(action:name)"}

  • (action:email) – this captures the value of the email field when the form is submitted
  • (action:name) – this captures the value of the name field when the form is submitted

Step 3: Test our form

We fill out the form and give it a test with the name and email shown.


Step 4: Check the Action Log

Each time an API is called from an Action, a log entry is created on the Actions Log page that gives you lot’s of data about the API call that has just happened.

Here is the log for the form submission we just made:

We can see in the SENT TO API section that we have successfully sent the correct name and email.

The API RESULT is the data that the API returns back to us and we can see that indeed a new contact was created in Hubspot.

Here is the contact shown within Hubspot.

That’s it!

Super simple and you can use any field type within JetFormBuilder and this works with virtually any CRM or any other API.

 

On this page
contact_support

Still not sure?

APIs can be daunting and sometimes downright confusing.

But we are here to help! Our support is amazing and we can assist you with any setup required and ensure your API integrations are a success!

Ask Us Anything

Connect your WordPress website to external APIs without writing a single line of code. Send data from WordPress to your API or display data from your API within WordPress.

Support

  • Documentation
  • Support Ticket
  • Refund Policy
  • Contact Us
  • About Us
  • Affiliates

Articles

  • Quick Start Guide
  • WooCommerce Orders to API
  • WooCommerce API Products Sync
  • Contact Form 7 to API
  • WPForms to API
  • Gravity Forms to API
  • WordPress to RapidAPI

WordPress API Plugins

  • Free WPGetAPI Plugin
  • PRO Plugin
  • API to Posts Plugin Plugin
  • OAuth 2.0 Authorization Plugin

© 2025 WPGetAPI. All Rights Reserved.

"*" indicates required fields

Name*
This field is for validation purposes and should be left unchanged.