Title: API for Ninja Forms
Author: sightfactory
Published: <strong>2025 年 7 月 11 日</strong>
Last modified: 2026 年 3 月 25 日

---

搜索插件

![](https://ps.w.org/api-for-ninja-forms/assets/banner-772x250.png?rev=3326465)

![](https://ps.w.org/api-for-ninja-forms/assets/icon-256x256.png?rev=3326465)

# API for Ninja Forms

 作者：[sightfactory](https://profiles.wordpress.org/sightfactory/)

[下载](https://downloads.wordpress.org/plugin/api-for-ninja-forms.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/api-for-ninja-forms/#description)
 * [评价](https://cn.wordpress.org/plugins/api-for-ninja-forms/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/api-for-ninja-forms/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/api-for-ninja-forms/#developers)

 [支持](https://wordpress.org/support/plugin/api-for-ninja-forms/)

## 描述

This plugin provides a robust and easy-to-use REST API for Ninja Forms, allowing
you to integrate your form submissions with external applications and services.

With support for both JSON and PDF output formats, you can retrieve form data in
a structured format submissions.

Features:

 * JSON Output: Access your Ninja Forms data in a standardized JSON format, perfect
   for integration with web applications, CRMs, and other systems.
 * PDF Output: Generate high-quality PDF documents from your form submissions, ideal
   for invoices, reports, or records.
 * Secure API Keys: Easily generate and manage API keys to control access to your
   form data.
 * Lightweight and Optimized: Designed for performance, ensuring minimal impact 
   on your website’s speed.

### Usage

### Third-Party Resources

This plugin bundles and utilizes the following open-source library:

 * **Setasign/FPDF**
    - **Description:** A pure PHP library for reading and writing spreadsheet files.
    - **Homepage:** [https://github.com/Setasign/FPDF](https://github.com/Setasign/FPDF)
    - **License:** FPDF License (compatible with MIT/BSD-style)
    - **License URI:** [https://github.com/Setasign/FPDF?tab=License-1-ov-file#readme](https://github.com/Setasign/FPDF?tab=License-1-ov-file#readme)

### Support

For support and feature requests, please visit [https://sightfactory.com](https://sightfactory.com)

## 屏幕截图

 * [[

## 安装

 1. Download the plugin ZIP file.
 2. Upload the extracted folder to the /wp-content/plugins/ directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Generate a REST API key by going to Settings > NF API Keys
 5. Use the endpoints to request data by passing your API key via Authorization: Bearer
    e.g. https://yourwebsitehere.com/wp-json/nf-submissions/v1/form/2/
 6. Exporting PDFs requires adding the optional format param to the url e.g. https://
    yourwebsitehere.com/wp-json/nf-submissions/v1/form/2/?format=pdf
 7. See more examples and API documentation on our [official docs page](https://sightfactory.com/plugins/api-for-ninjaforms/).

## 常见问题

### What api file formats are supported?

Currently, only JSON and PDF feeds are supported. Excel format is currently in development.

### How do I generate API keys?

You can generate API keys directly from your WordPress dashboard. Navigate to Settings
> NF API Keys to create and manage your keys.

### Does this plugin slow down my website?

No, it is lightweight and optimized for performance, ensuring minimal impact on 
website speed.

## 评价

此插件暂无评价。

## 贡献者及开发者

「API for Ninja Forms」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ sightfactory ](https://profiles.wordpress.org/sightfactory/)

[帮助将「API for Ninja Forms」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/api-for-ninja-forms)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/api-for-ninja-forms/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/api-for-ninja-forms/)，或通过[RSS](https://plugins.trac.wordpress.org/log/api-for-ninja-forms/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/api-for-ninja-forms/)。

## 更新日志

#### 1.0.1

Bugfix

#### 1.0.0

Initial public release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**2 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/api-for-ninja-forms/)
 * 标签
 * [api](https://cn.wordpress.org/plugins/tags/api/)[ninja forms](https://cn.wordpress.org/plugins/tags/ninja-forms/)
   [NinjaForms](https://cn.wordpress.org/plugins/tags/ninjaforms/)[rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/api-for-ninja-forms/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/api-for-ninja-forms/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/api-for-ninja-forms/reviews/)

## 贡献者

 *   [ sightfactory ](https://profiles.wordpress.org/sightfactory/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/api-for-ninja-forms/)