Skip to main content

Create user

Create an end user or agent, or update the existing one with the same email when asked to.

Command in the Zendesk toolkit · id ooa.zendesk/create_user · 12 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
SiteStringYesYour Zendesk address, e.g. https://acme.zendesk.com, or just the subdomain acme.
EmailStringNoEmail of the agent the API token belongs to. Leave empty when using an OAuth token.
API tokenCredentialNoZendesk API token from the vault (used with email).
OAuth tokenCredentialNoOAuth access token from the vault, instead of email and API token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
NameStringYesFull name.
User emailStringNoEmail of the new user.
RoleStringNoend-userend-user, agent or admin.
Organization IDNumberNoOrganization id to put the user in.
PhoneStringNoPhone number.
External IDStringNoYour own id for the user, e.g. a CRM customer number.
Update if existsBooleanNofalseUpdate the existing user with this email or external id instead of failing.
User fieldsDictionaryNoCustom user fields by field key, e.g. {"customer_tier": "gold"}.

Outputs​

OutputTypeWhat it is
user_idNumberId of the user.