Not allowed to access contact form 7 via wp rest api
-
Hello,
I am new to web developpment and currently working on a project using WP as headless CMS with rest API and frontity / react for the front end.Trying to access contact form 7 via mydomain/wp-json/contact-form-7/v1/contact-forms
results to the following error :{ "code": "wpcf7_forbidden", "message": "You are not allowed to access contact forms.", "data": { "status": 403 } }I am trying to access specific forms using
frontity.state.source['wpcf7_contact_form'][postID]This works for other custom post types, pages and posts. However i can’t seem to access the contact form 7 custom post type..
Why is it forbidden? How can i grant access?
Thanks a lot for your help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Not allowed to access contact form 7 via wp rest api’ is closed to new replies.