• 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 7 years, 6 months ago by pfurman.
Viewing 1 replies (of 1 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    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.