📘 MSP Formbuilder REST API Documentation

🔐 Authentication

Authentication is handled via MSP Formbuilder Plugin Inside you can see API key & Site key in Zapier Section.

URL:

https://YOUR_SITE_URL/wp-json/mspform/v1/submit

Method: POST

🔗 Example Request (cURL)

curl –location –request POST ‘https://YOUR_SITE_URL/wp-json/mspform/v1/submit?apikey=YOUR_API_KEY’

Success Response:

[

{
    “message”: “Success”
}

]

Failed Response:

[

{
    “message”: “Unauthorized”
}

]

📥 Get Form Entries

GET /{form_id}/entries

Fetch entries for a specific form.

URL:

https://YOUR_SITE_URL/wp-json/mspform/v1/{{form_id}}/entries?apikey=YOUR_API_KEY

Method: GET

Example:

https://mspformbuilder.com/wp-json/mspform/v1/123/entries?apikey=xxxxxx

Response:

[

{
“id”: “1”,
“firstname”: “MSP”,
“middlename”: “”,
“lastname”: “Team”,
“Email”: “[email protected]”,
“Upload”: “No file was uploaded”
},

]

📄 List All Forms

GET /allforms

Returns all published MSP Formbuilder forms.

URL:

https://YOUR_SITE_URL/wp-json/mspform/v1/allforms?apikey=YOUR_API_KEY

Method: GET

Response:

[

{
“id”: “6”,
“formname”: “First Form”
},

]

🚫 Error Response

 

If something goes wrong (missing form, invalid data, etc.), you’ll receive:

Response:

[]

API KEY & SITE KEY