Title: Get contact form fields using rest API
Last modified: September 20, 2017

---

# Get contact form fields using rest API

 *  [pfurman](https://wordpress.org/support/users/pfurman/)
 * (@pfurman)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/get-contact-form-fields-using-rest-api/)
 * Hi,
    Im building webpage with totally separated frontend. I wonder is it possible
   to get information about my form fields by REST API. I found some endpoints (/
   contact-form-7/v1/contact-forms/:id) but I get Forbidden error 403. For now, 
   I understand that I can send an email using: /contact-form-7/v1/contact-forms/:
   id/feedback but I dont know how to integrate form in my app, with form created
   in WordPress. So: 1. Why Forbidden error has appeared? 2. Is it possible to get
   information about my form using endpoints? 3. Does the documentation of all endpoints
   exist? WP v4.8.2, CF7 v4.9 Thanks!
    -  This topic was modified 8 years, 8 months ago by [pfurman](https://wordpress.org/support/users/pfurman/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/get-contact-form-fields-using-rest-api/#post-9513653)
    1. Because the endpoint requires `wpcf7_edit_contact_form` capability (a meta cap
       normally mapped to `publish_pages` cap), and you don’t have it.
    2. If you have the capability, yes.
    3. Unfortunately no. See _contact-form-7/includes/rest-api.php_ for details since
       all routes and endpoints are implemented in the file.

Viewing 1 replies (of 1 total)

The topic ‘Get contact form fields using rest API’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/get-contact-form-fields-using-rest-api/#post-9513653)
 * Status: not resolved