# Create a Discourse user from a Zapier request

**URL:** <https://meta.discourse.org/t/create-a-discourse-user-from-a-zapier-request/283570>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [October 26, 2023, 6:39pm UTC](https://meta.discourse.org/t/create-a-discourse-user-from-a-zapier-request/283570 "2023-10-26T18:39:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 26, 2023, 6:39pm UTC](https://meta.discourse.org/t/create-a-discourse-user-from-a-zapier-request/283570/1 "2023-10-26T18:39:39Z")

</div>

I’m trying to create an active user with the API.

This works from `curl`:

```plaintext
curl -X POST "https://community.co/users.json" -H "Api-Key: $API_KEY" -H "Api-Username: system" -H "Content-Type: multipart/form-data" -F "name=XXXXApp Tester" -F "email=XXXapptester2@example.com" -F "username=XXXapptester21" -F "active=true" -F "approved=true" -F "password=simplepass"

```

When I do the same call from Zapier (I see that the `Parameters` in `production.log` look the same), it has this in the logs:

```plaintext
Filter chain halted as :respond_to_suspicious_request rendered or redirected

```

And nothing happens.

Is there some way around this?

```plaintext
  def suspicious?(params)
    return false if current_user && is_api? && current_user.admin?
    honeypot_or_challenge_fails?(params) || SiteSetting.invite_only?
  end

```

---

_[View the full topic](https://meta.discourse.org/t/create-a-discourse-user-from-a-zapier-request/283570)._
