# Which validations can be bypassed and how when using the API to create topics/posts

**URL:** <https://meta.discourse.org/t/which-validations-can-be-bypassed-and-how-when-using-the-api-to-create-topics-posts/299282>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [March 13, 2024, 10:39pm UTC](https://meta.discourse.org/t/which-validations-can-be-bypassed-and-how-when-using-the-api-to-create-topics-posts/299282 "2024-03-13T22:39:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [March 14, 2024, 10:40pm UTC](https://meta.discourse.org/t/which-validations-can-be-bypassed-and-how-when-using-the-api-to-create-topics-posts/299282/3 "2024-03-14T22:40:56Z")

</div>

> [@pfaffman](#):
>
> There’s a `skip_validations` parameter you can pass in Ruby, but I don’t know if you can pass it with the API.

Yes, that should work 👍 (WP-Discourse uses it, for example)

> <https://github.com/discourse/discourse/blob/main/app/controllers/posts_controller.rb#L821>

---

_[View the full topic](https://meta.discourse.org/t/which-validations-can-be-bypassed-and-how-when-using-the-api-to-create-topics-posts/299282)._
