Auto-Verify User Email Bulk Import & Auto-Mark User Direct Number Bulk Import | Community
Skip to main content

Auto-Verify User Email Bulk Import & Auto-Mark User Direct Number Bulk Import

  • October 15, 2015
  • 2 replies
  • 0 views

I would like to bulk import users I have in a CSV file. I see no problem with importing them except I would have to manually go in and verify each email address manually (which I don't have to do because I got their permission to send them emails when they sign up on our site). How do I mark them as verified (email) as a part of the bulk import? Is there a field I can use?

Also, the CSV file also contains the end-user's phone number and I would like to automatically make that their direct line. Is there another field where I could make the phone automatically their direct line through the bulk import CSV file?

This topic has been closed for replies.

2 replies

  • October 24, 2015

Hey Felipe,

It is not an option to automatically verify your users when bulk importing using a CSV file. For more information about this process please see our forum:

[Bulk importing users and organizations](https://support.zendesk.com/hc/en-us/articles/203661996-Bulk-importing-users-and-organizations)

Please take note of the section titled "A note about welcome email sent to users in a bulk import". If you are bulk importing users you may want to turn off the welcome email, or you may want to leave it on so they are notified and get a link to verify their account.

You can import new users and have them verified right away using the API. Please review our information about using the API here:

http://developer.zendesk.com/documentation/rest_api/introduction.html

And for specific information about verifying users, review the Users section here (you can set the verified value when they are added through the API):

http://developer.zendesk.com/documentation/rest_api/users.html

Please let me know if you have any other questions about this.

As for importing numbers there is a way to do this with the API but it is undocumented and not supported. Unfortunately, that means I cannot provide support for it if it doesn't work correctly. It is leftover from our V1 API endpoint.

Disable direct line:
curl -u agent:password  [http://SUBDOMAIN.zendesk.com/users/USERID/update\_number](http://subdomain.zendesk.com/users/USERID/update_number) -X POST -d "number=+15551234567&direct_line=0" -v

Enable direct line:
curl -u agent:password  [http://SUBDOMAIN.zendesk.com/users/USERID/update\_number](http://subdomain.zendesk.com/users/USERID/update_number) -X POST -d "number=+15551234567&direct_line=1" -v

 


  • December 30, 2019

I wrote a tip about bulk verifying existing user email addresses at https://support.zendesk.com/hc/en-us/community/posts/360038134494-Bulk-verifying-user-email-addresses