Verify user identities upon creation

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 user@domain.com:password https://yourhelpdesk.zendesk.com/api/v2/users/5246746/identities.json -X POST -H "Content-Type:application/json" -d '{"identity":{"type":"email", "value":"user@newdomain.com", "verified":true}}'

{
  "identity": {
    "type": "email",
    "verified": true,
    "url": "https://yourhelpdesk.zendesk.com/api/v2/users/5246746/identities/226556146.json",
    "primary": false,
    "user_id": 5246746,
    "value": "user@newdomain.com",
    "created_at": "2012-06-14T20:40:58Z",
    "id": 226556146,
    "updated_at": "2012-06-14T20:40:58Z"
  }
}

Have more questions? Submit a request

Comments

  • Avatar
    Þórður Matthíasson

    Does this apply to JWT's as well?