Support » Plugin: Contact Form 7 » Contact form 7 Rest API for native mobile app

  • Resolved ketan

    (@ketantecocraft)


    Hello,

    We need to submit the contact form 7 form by using the rest API inside the native mobile application. So can you please help me regarding Rest API format for the contact form 7 and it’s endpoints.

    Thank you,
    Ketan

Viewing 3 replies - 1 through 3 (of 3 total)
  • ketan

    (@ketantecocraft)

    I have used the following POST API and that working well:

    https://{site_url}/wp-json/contact-form-7/v1/contact-forms/{form_id}/feedback

    I am trying to do the same thing. But the field values I am posting is not being identified. Here is the body I am passing:

    {
       "your-name": "Test User",
       "your-email": "test@user.com"
    }

    What am I doing wrong?

    ketan

    (@ketantecocraft)

    Hello @parim

    You need to do install WP REST User and WP REST API plugin and after that try to call API like my above suggest format.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.