# Disable account confirm emails when creating users via API

**URL:** <https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [23 augustus 2017 om 23:18 UTC](https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663 "2017-08-23T23:18:20Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![dm.linov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dm.linov/32/167719_2.png) [@dm.linov](https://meta.discourse.org/u/dm.linov)\
**Post date:** [27 januari 2020 om 17:16 UTC](https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663/30 "2020-01-27T17:16:52Z")

</div>

I tried sending API calls setting `active=true` and `approved=true` , but get the following response:

```
{
“success”: true,
“active”: false,
“message”: “You’re almost done! We sent an activation mail to ‘[my email]’. Please follow the instructions in the mail to activate your account.If it doesn’t arrive, check your spam folder.”
}

```

However, no e-mail is sent and no user seems to be created - at least, I don’t see any in the admin interface. What could be the reason for that?

---

_[View the full topic](https://meta.discourse.org/t/disable-account-confirm-emails-when-creating-users-via-api/68663)._
