• Resolved pitch30391

    (@pitch30391)


    Hello,

    Can Jetpack create a feedback-type post with REST API to use in mobile application?
    Wanted to create it with Jetpack’s contact-form so it will also appear in Feedback tab section.

    I also try the ‘wp-json/wp/v2/feedback’ part with JWT token and I can only GET the feedback type post but cannot POST the feedback type post.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fresatomica

    (@fresatomica)

    Hi there!

    I’m afraid this is beyond the scope of support we can provide here. This type of customizations would require the help of a developer if you’re unable to work it out.
    There is some guidance on this page: https://developer.jetpack.com/?search_for=wpapi-hook&s=custom+post+type

    Thread Starter pitch30391

    (@pitch30391)

    Thank you for replying

    while I waiting, I have the solution by modify feedback post type that come with Jetpack(sorry) and set it to change type capabilities from
    ‘create_posts’ => ‘do_not_allow’,
    to
    ‘create_posts’ => true,

    later I use register_post_type_args instead to change without modify Jetpack directly(prevent the code change for every time Jetpack get version updated)

    with auth and rest api now it work.

    Plugin Support fresatomica

    (@fresatomica)

    I’m glad to hear you were able to get this done. Thanks for letting me know!

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

The topic ‘Create contact form’s post via rest api?’ is closed to new replies.