Connect to external APIs | Custom endpoints for WP

Description

Connect to external APIs | Custom endpoints for WP plugin helps you to create custom endpoints/ Custom REST APIs into WordPress directly with an interactive Graphical User Interface (GUI) to fetch any type of data from any WordPress database tables like user roles, groups to featured images, or any custom data or fields as well. You can also use functions like GET, POST, PUT, DELETE (Insert, Update, Delete) data with these created Custom endpoint / Custom REST routes.

This plugin also helps you connect to your external APIs and platforms to fetch the data and display via shortcode as per your design (custom HTML, CSS and JS), post data on third-party platforms on any WordPress events (user creation, Woocommerce events, form submission, membership purchase etc) via WordPress hooks.

This plugin has an interactive and simple UI that will allow you to interact with data by creating Custom REST API endpoints. It means you can easily interact with the WordPress database to perform CRUD operations on data using the custom endpoints created (generated) using Connect to external APIs | Custom endpoints for WP.

Connect to external APIs | Custom endpoints for WP takes care of writing the complex SQL queries to fetch/update data and provides you with a very simple User Interface to create or generate custom REST endpoints.
This plugin also provides the filter operations in which you can filter the data you want to show in the API endpoint response.

Connect to external APIs | Custom endpoints for WP also adds a layer of security by providing authentication methods to these custom-generated API endpoints. The authentication methods which are compatible with the plugin are:

You will also be able to control the visibility and customize the metadata attached to the Custom endpoint response. This plugin also eliminates the risk of unauthorized access to these custom endpoints that you created as it only gives access after successful user validation.

Third-party/External API Integration into WordPress

  • This plugin allows you to integrate any external or third-party REST API endpoints into WordPress very easily with the help of our interactive and simple GUI within seconds. With this function of our plugin, you can fetch data to your WordPress (WooCommerce) site or you can use it to fetch data and process it according to your needs.

  • These integrations can also be done on third-party plugin events like form submission using Elementor, Wpforms, Gravityforms etc. and also payment status or subscription status based on transactions done via payment gateways like that provided by WooCommerce, Wpforms, Gravityforms or any other services.

  • External API integrations can be done on any event of WordPress like user registration, user membership level change or any other using plugin hooks.

  • WooCommerce product data can be synced with any external/third-party API provider(Supplier) on a real-time basis with our plugin.

  • This feature also provides the capability to register or login users to third-party platforms by making an API request to the third-party platforms.

  • Data display on front end using shortcode fetched from external API endpoints.

Use Case

  • Access custom data of the WordPress site into your mobile application or web clients via custom REST API Endpoints.
  • Create easy Custom REST Routes to Create, Read, Update and Delete (CRUD) WordPress content from client-side JavaScript or external applications.
  • Interact with any standard database schema/ table or your custom-built schema/ table to fetch/ update/ delete data using the custom API endpoints.
  • Connect two WordPress sites or connect your WordPress site with a website built in any framework and Get/Update/Insert/Delete (CRUD) data of one website to another website with the help of Custom API and feasibility of connection with External APIs / Custom Endpoints developed in the external Website.
  • Connect with External Rest API Routes to display data on your website or process the data received from External Endpoint.
  • Integrate External/third-party REST API endpoints with third-party plugin’s payment gateways like that of WooCommerce, Wpformsor any other custom gateway such that the API can be called automatically based on the payment status.
  • Integrate External/ third-party REST API endpoints with custom/ third-party plugins’ forms like that of Wpforms, Elementor, Gravityforms etc such that the external APIs can be called on these forms submission or any related events to perform fetch/update/delete operation based on API endpoints.
  • Sync third-party/external API provider’s (Supplier’s) API Inventory data into WooCommerce and display them in the product feed on a real-time basis. [More detials]
  • Integrate external APIs into WooCommerce – If you have a Woocommerce store and want to update the data like order creation, order status, and user profile update on a third-party platform in real-time, then a solution can be provided using our plugin.
  • Data display using shortcode – Fetch data from external API with security and display that on WordPress front-end pages using the shortcodes with customized design.

Add-Ons

WooCommerce Products sync via External API | Import products in WooCommerce using Supplier APIs

  • If you have a WooCommerce store and want to sync (add/update/delete) the products from the external inventory warehouse/ store’s platform via APIs then it can be using the CUSTOM API plugin along with our Woocommerce products sync from external APIs.
  • Following are the key features

    1. Data can be synced automatically after a certain specified period. (For example, every 4 hours a day).
    2. All the product details like SKU, name, description, price, stock status, images, custom attributes and variant productions can be updated along with other custom attributes as well.
    3. Sync can be done in the background such that customers using your WP site are not affected.
    4. Data syncing can also be done by clicking on the sync button manually in the User Interface.
    5. WooCommerce product images can also be added or updated with ease based on external API data.
    6. No extra work to import and export CSV/ TXT files manually. API Integration will do the job automatically.

Google Merchant Center

  • Sync Products between WordPress and Google Merchant Center feed (Integrate WordPress/ WooCommerce Store with Google Merchant Center)

  • If you have a WordPress/ WooCommerce store or third-party dropshipping plugins like Alidropship and want to sync the products between the WordPress site and Google Merchant Center feed feed via APIs then it can be achieved using our solution.

  • Following are key features

    1. Real-time data sync between the WordPress and Google Merchant Centre platforms.
    2. CSV or TXT files import and export are not required. Everything will be handled automatically via REST APIs.
    3. Any attribute like Image, pricing, variations, quantity, stock status, and description can be updated easily.
    4. Solution can be made compatible with WordPress as WooCommerce store, Alidropship store or any third-party plugin which manages the products in WordPress.

Connect multiple WordPress/Woocommerce sites

  • WooCommerce API Product Sync with Multiple WooCommerce Stores.
  • We do provide the solution in which the product data stored in one WooCommerce store can also be synced with other WooCommerce stores using the REST APIs such that the WC stores will be updated on a real-time basis.
  • Sync all the Woocommerce data between multiple stores on updating in any one store in real-time.

Zoho Integration with WordPress

  • If you have a WordPress site and want to connect it to your Zoho applications like Zoho CRM, Zoho connect, Zoho Subscription, Zoho Inventory etc to perform operations like sync real-time data between these platforms, which involves user profile sync, operate on WordPress or assign membership to the user based on his Zoho subscription etc. With this integration, any Zoho APIs and webhooks can be integrated to perform real-time sync.

Sync Advance Custom Fields (ACF) Posts in WordPress using external API data

  • This plugin helps to connect external and third-party APIs to sync the data from external platforms into WordPress Posts and ACF fields.

Google Sheet Integration

  • If you have a WordPress/Woocommerce site and want to connect it to Google Sheets, then our plugin can help you achieve that with our Google Sheets integrator. It provides both ways to sync the data. So, if you update or create any row in the google sheet, then that data will be synced in WordPress and similarly, if you perform any operation or event in WordPress, then that data can be synced as per your need in the Google sheet on a real-time basis.

WordPress Automate using Webhooks

  • This plugin can be made compatible to automate WordPress events with external API and webhook to synchronize data between WordPress and external applications.
    For example – If you have a WordPress/Woocommerce site and want to sync the user data, product data, posts, and membership data with external platforms, inventories and CRM like Zoho, Hubspot etc., then this plugin can be extended with an add-on to achieve this.

These solutions can be used additionally along with the plugin. To know more details, contact us at apisupport@xecurify.com and let us know your requirements.

Free Version Features

  • Unlimited Custom REST APIs (endpoints) can be created for the HTTP GET method.
  • Name Custom Endpoints/Custom REST routes as per our wish and need.
  • Build custom REST routes for all tables within WordPress.
  • Build custom REST routes for fetching posts and taxonomies.
  • Fetch any type of data available in WordPress via custom REST API endpoints.
  • Full control of Custom REST API responses without writing a single line of PHP code.
  • Fetch operation available with single WHERE condition.
  • Integrate with all types of applications.
  • Create one API connection based on simple and advanced SQL queries on the WordPress database.
  • Create one external API connection for all the standard third-party REST API endpoints to fetch/update between WordPress and 3rd party platforms.

Premium Version Features

  • Create/ Register custom namespaces and routes.
  • Multiple endpoints allowed per REST route.
  • Create (generate) Custom API routes for posts and taxonomy creation, modification, and deletion.
  • Supports all kinds of HTTP Methods (GET, PUT, POST, DELETE).
  • Filters included to alter and extend default functionality .
  • Fetch operation available with multiple custom conditions.
  • Limit the number of responses you get as a result of Custom Endpoints (API).
  • Pass the data in application/JSON or application/x-www-formurlencode for HTTP POST and PUT API endpoints.
  • Complex queries formation with an Advance mechanism.
  • Restrict public access to all Custom REST API Routes with API KEY Authentication method (default) and some other Authentication methods can also be provided as ADD-ON as per requirement like
    1. REST API endpoints authentication using OAuth 2.0
    2. REST API endpoints authentication using JWT Tokens
    3. Basic Authorization with Username and Password
    4. Authentication from external OAuth/OIDC provider’s token for REST API endpoints
  • Create unlimited API endpoints with custom SQL-based query on an easy-to-use GUI without any code.
  • Create one API connection based on simple and advanced SQL queries on the WordPress database.
  • Create one external API connection for all the standard third-party REST API endpoints to fetch/update between WordPress and 3rd party platforms.

Enterprise Version Features

  • All Premium Version Features.
  • Create (generate) unlimited Custom API endpoints with custom SQL Query to create a custom API with your complex SQL query.
  • Connect with External REST API/ External Endpoints, also known as third-party REST API endpoints.
  • External API integration to fetch data in the WordPress, update data on the External API provider side.
  • Supports all kinds of HTTP(GET/POST/PUT/UPDATE) Methods.
  • Supports integration with Custom API / Custom Endpoints of External Website or Platform.
  • Dynamic WordPress hooks for each External API / Endpoint connection to perform operations on external data.
  • Compatibility with Third-Party Plugin Events like WooCommerce, WPForms, Gravityforms, Membership Plugins, etc.
  • Support for calling External / Custom Endpoints on third-party plugin events.
  • Compatibility with third-party plugin’s payment gateways provided by WooCommerce, Wpforms, PayPal, Stripe or any custom payment gateway.
  • Support for connection with Custom API / Custom Endpoints developed in any framework like Java, PHP, NodeJS, .NET, etc.
  • Support of Dynamic headers for the External REST APIs / Custom APIs request
  • Securely access External Endpoints by passing the required authentication parameter either in the Header or Body.
  • _Display data fetched from external API using shortcode as per your styling (custom HTML, CSS and JS).
  • Both JSON and XML response formats are supported.
  • Supports OAuth 2.0 authentication, Basic Authentication, API Key authentication and Bearer token/JWT token API endpoint authentication for External API Integration feature.
  • Supports execution of multiple APIs at once which are interdependent.

Authentication-related information can be sent by any suitable REST client for eg- You can use CURL calls to send HTTP Requests or even any IDE like PHPSTORM or you can go with POSTMAN to send an authentication key.

Type of APIs supported

  • ‘HTTP GET` (This can be used to retrieve data from your WordPress)
  • ‘HTTP POST’ (This can be used to insert data in your WordPress)
  • ‘HTTP PUT’ (This can be used to update data in your WordPress)
  • ‘HTTP DELETE’ (This can be used to delete data in your WordPress)

Type of Data which you can retrieve with Custom Endpoints

  • WP Users and User Meta.
  • WP Roles and Capabilities.
  • WP Posts, Pages and custom post types.
  • WP Options.
  • WP Taxonomy.
  • WooCommerceproducts, WordPress Membership plugins data.
  • Custom data, Custom posts, Custom parameters, Custom fields and many more.
  • Any third-party plugins or custom table data can be fetched/updated using these custom API endpoints.

Screenshots

  • List all created APIs
  • Create API UI
  • View API
  • Response to API calls
  • Create REST API using custom SQL

Installation

From your WordPress dashboard

  1. Visit Plugins > Add New
  2. Search for Custom API for WP. Find and Install the Custom API for WP plugin by miniOrange
  3. Activate the plugin

From WordPress.org

  1. Download the Custom API for WP plugin
  2. Unzip and upload the custom-api-for-wp directory to your /wp-content/plugins/ directory.
  3. Activate the miniOrange API plugin from your Plugins page.

Once Activated

  1. Go to the Settings-> Custom API menu
  2. Click on the Create API button
  3. Choose data that you want to retrieve with API and conditions to retrieve data
  4. Save the configuration and your API will be ready to use.

FAQ

Can this plugin be used to create API for any third-party plugin?

Yes, this plugin can help you perform any Database Operation for any plugin’s table in the WordPress database based on various filters that you want to apply.

Can I write create or generate API endpoints in WordPress using my own complex custom SQL Query?

Yes, the plugin provides this functionality so that any custom endpoints can be created or generated based on your self-defined custom SQL query with any complexity, so SQL query can be used to perform operations even using multiple WP database tables.

How to integrate External/third-party side(Non-WordPress) REST API endpoints into WordPress?

The plugin provides the Graphical User Interface-based feature to integrate or connect to any external API endpoints easily within WordPress and these connections can be used to fetch/update data via these external API endpoints on any WordPress events on a real-time basis.

How to create API endpoints in WordPress

This plugin is exactly meant to do that in which you can easily create any APIs to interact with the WordPress database and perform any operations like GET, POST, PUT, and DELETE within seconds along with security.

How to import/sync products from an external inventory/supplier to my WooCommerce store?

The plugin can be with our other add-on ‘Woocommerce product sync from external API’ to sync all the products including adding, updating, and deleting products based on what is available on the inventory/supplier’s end.

Can this plugin be connected to Zoho for integration with WordPress?

Yes, the plugin’s Connect to External API feature can be used to connect the Zoho platforms with WordPress and sync data in real-time using developer hooks or on-demand end-to-end integration.

Does this plugin allow functionality to display the data fetched from external API?

Yes, the plugin provides the feature to connect to external APIs to fetch the data and using the plugin’s shortcode or filter, you can display the data anywhere on your pages, posts etc.

Reviews

ለካቲት 23, 2024
I spent too much time trying to write my own and this plugin was the ultimate time saving solution. After initial install, support was absolutely incredible and fast to help me with the finalization of setup.
ታሕሳስ 7, 2023
Having dealt with a large number of plugin authors over the years, I can confidently say the support received from miniOrange is by far the best. When presented with an issue, their team jumped right in and did not quit until the issue was resolved. They are great communicators and their line of products have proven to be great solutions.
ሕዳር 22, 2023
Mini Orange worked with us and assisted in producing an outstanding App experience for our customers. They are always on hand to support and answer any questions or queries we have. I just want to give a big thank you to Yash and the team for their continued support. We look to have a continued relationship with Mini Orange as we are always looking to continuously improve and update our App. I would not think twice about recommending their products and services to anyone. They will deliver and not disappoint. Excellent Product & Great Support.
ሓምለ 27, 2023
miniOrange has dozens of plugins, we tried Custom API for WP. The support was fast, responsive, and on-point. We are just learning APIs and SQL, but Abhishek gave us the info to achieve success. This plugin will save us hours of research, coding, and testing!
ሓምለ 20, 2023
Message to everyone that want to use this plugin - Guys in support are nice, educated and know what they are doing. They helped us to connect API from different storages so that it works as we wanted. Thank you for help 🙂
Read all 26 reviews

Contributors & Developers

“Connect to external APIs | Custom endpoints for WP” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.1

  • Initial version

1.1.2

  • Added UI changes and contact form bug fix

1.1.3

  • Added feedback form at deactivation

1.1.4

  • Improved SEO and added compatibility with WP 5.5

1.1.5

  • Showing all premium features and Added customer registration tab

1.1.6

  • Bugs and UI fixes

1.1.7

  • Bugs and UI fixes

1.1.8

  • Added compatibility with WordPress v5.6

1.1.9

  • Bugfix – Added support for LIKE condition

2.1.0

  • Bug Fixes, Compatibility with WordPress v5.7 and integration with external APIs

2.1.1

  • UI Updates, Bug Fixes

2.1.2

  • Bug Fixes, Usability improvements, WordPress 5.8 compatibility

2.1.3

  • Security Fixes, UI improvements, WordPress 5.8.2 compatibility

2.1.4

  • UI bug Fixes and Security Fixes

2.2.0

  • Compatibility with WordPress 5.9
  • Fix for _ (underscore) issue with custom endpoints
  • Minor UI Fixes

2.3.0

  • Major UI Updates and usability improvements
  • Feature to View created custom API connections
  • Support for Custom SQL APIs and External API Integration feature
  • Bug & Security Fixes

2.4.0

  • Compatibility with WordPress 6.0
  • Minor Bug Fixes

2.5.0

  • UI Updates and usability improvements
  • Bug Fixes

2.5.1

  • Compatibility with WordPress 6.1

2.6.0

  • Compatibility with WordPress 6.2 and PHP 8.2
  • Major Bug and usability fixes
  • UI Updates

2.7.0

  • UI Updates

2.8.0

  • WordPress 6.3 compatilbity
  • Bug Fix for Multiple headers in External API Integration
  • UI Updates

2.9.0

  • WordPress 6.4 compatibility
  • Introduced the feature for external API data display via shortcode or hook
  • UI improvements