Announcing multiple phone numbers Follow

Comments

2 comments

  • Avatar
    Norm Baker

    When will access to multiple phone numbers be available via the REST API and/or the Cloud Bees Java Client API?

  • Avatar
    Klara Audren

    Hello Norm,

    You can add multiple phone numbers to a user, by using the "identities", your API call should therefore look something like:

    curl -v -u {email_address}:{password} https://{subdomain}.zendesk.com/api/v2/users.json \
      -H "Content-Type: application/json" -X POST -d '{"user": {"name": "Roger Wilco", "identities": [{ "type": "phone", "value": "test@user.com"}, {"type": "twitter", "value": "tester84" }]}}'

    In regards to the Java API client, unfortunalty we are unable to provide a response to that as this library is built by a third party and therefore we do not update it. I would recommend that you reach out to the via the Github repo:https://github.com/cloudbees/zendesk-java-client

Please sign in to leave a comment.

Powered by Zendesk