Creating a New User

Learn how to provision a new Glance account using the NewUser API endpoint, including required parameters and expected XML responses.

Use the NewUser endpoint to provision a new Glance account for a new Glance user.

Endpoint: https://www.glance.net/PAPI/NewUser.asp

Parameters

Be sure to include the required authentication parameters with each request. Also include parameters to describe your new user.

ParameterData TypeRequired or Optional
PartnerUserIDup to 255 charactersRequired
UserAddressGlance AddressRequired
UserPWup to 49 charactersOptional
UserFirstup to 49 charactersOptional
UserLastup to 49 charactersOptional
UserEmailup to 127 charactersOptional
UserRoleup to 70 charactersOptional
AudioProviderintegerOptional

Parameter Details

PartnerUserID: Your unique ID for this user. You can specify any identifier up to 255 characters long. Some Glance customers use an associate / employee badge number or something similar. You may, if you wish, give the same value here as you give for UserAddress.

UserAddress: A unique Glance Address for this user. Glance Addresses look something like doe.john.example.glance.net or agent001234.example.glance.net and always end in .glance.net.

Glance Address Constraints
  • Periods and dashes cannot appear at the start of the Glance Address.
  • Periods and dashes cannot appear at the end of the Glance Address.
  • Only alphanumeric characters are supported as valid characters. Periods and dashes are allowed within the address, they just cannot be present at the start or end.

UserFirst, UserLast: (optional) The new user's first (given) name and last name (surname).

UserEmail: (optional) The new user's email address.

UserRole: (optional) The UserRole parameter specifies the subscriber role for the new user. If you use roles, you must provision them before you assign them. Some Glance customers do not use roles.

AudioProvider: (optional) If you supply a value, Glance will provision an audio conferencing account for the new user. Currently available values are 1 for Glance Free Conferencing or 666 for testing. If you do not need Glance to provide audio conferencing for your users, do not provide this parameter. If you do provide it, this operation returns audio account information in its XML response.

Responses

See here.

If the NewUser operation provisioned an audio conferencing account, the returned XML document includes the audio account information, looking something like this:

XML
<?xml version="1.0" standalone="yes"?>
<response>
  <status>OK</status>
  <dialIn>1 (605) 715-4970</dialIn>
  <hostCode>*1391096</hostCode>
  <guestCode>1391096</guestCode>
</response>