Forums/Product news and updates/API updates

Verify user identities upon creation

Steven Yan
posted this on June 14, 2012 13:43

By default, Zendesk sends a verification email to a user when the user's email address is added to a profile.  We have added the ability to disable this upon adding an email address to a user profile.  To do this, you can now set verified: true when creating a user identity and this will suppress the verification email.  

curl -u -X POST -H "Content-Type:application/json" -d '{"identity":{"type":"email", "value":"", "verified":true}}'

  "identity": {
    "type": "email",
    "verified": true,
    "url": "",
    "primary": false,
    "user_id": 5246746,
    "value": "",
    "created_at": "2012-06-14T20:40:58Z",
    "id": 226556146,
    "updated_at": "2012-06-14T20:40:58Z"