Creating Post Voting topics with the API

https://docs.discourse.org/#tag/Posts/operation/createTopicPostPM

When we create a new topic with the API, the topics are created normally, even if we make the setting in the category.

I am working using the API, how can I ensure that the topics I create with the API are created as automatic post voting?

Thanks

Having a quick look at the network tab in the browser tools when creating a post-voting topic, I think you need to include create_as_post_voting: "true"

2 Likes

is work, I had thought of this but had not been able to do it in one attempt before. I guess we get better with time. Thank you for your time. You are great.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.