WP Manifestindependent plugin directory
manifest / forms / wp-contact-form-api

WP Contact Form API

WordPress plugin to handle contact form via REST API

by Mrityunjoy Mukherjee · github.com/mrityunjoy-systems/wp-contact-form-api

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/mrityunjoy-systems/wp-contact-form-api/archive/refs/heads/main.zip

How to Test

  1. Install the plugin in WordPress.
  2. Activate the plugin.
  3. Send a POST request to:

/wp-json/contact/v1/submit

Example using Postman:

  • Method: POST
  • Body (JSON):
    
    {
    "name": "Test User",
    "email": "test@example.com",
    "message": "Hello from API"
    }# WP Contact Form API

A WordPress plugin that accepts contact form data via REST API.

API Endpoint

POST request:

Example Body


{
  "name": "John",
  "email": "john@example.com",
  "message": "Hello!"
}
{
  "status": "success",
  "message": "Form submitted successfully!"
}