Register a new user
Creates a new user account via the public REST API.
https://YOUR-NETWORK-DOMAIN/rest-api/register-user/{key}/{hash}/{timestamp}.do Creates a new user account via the public REST API. Authentication uses the public/private key pair set in the network's white-label settings: the 'key' path variable must match the public key, and 'hash' must equal MD5(username + password + email + privateKey + timestamp). The timestamp must be within 5 minutes of the server's current time to prevent replay attacks. If the network does not require a password on sign-up and none is provided, a random password is generated. A role with Auto-activate User makes the account active, at once or once the address is confirmed through a link mailed to it; 'emailConfirmation' in the response says whether that mail went out. On success, the user is created, sign-up notifications are sent, and the response includes the tracking user ID if tracking info is provided. For demo accounts, the new user is automatically granted CAN_VIEW shares to configured demo advertisers and sites. A sign-up from the e-mail address of an earlier contact-us request turns that request's record into the account. The role must have Sign-up enabled, and a role that gives power over the network or over other accounts (an administrator role, User Management UI, any All-level grant on Inventory or Campaigns, or Access, Manage Role or All-level rights over the users of a role) is refused in 'aclRole' whatever its Sign-up setting. An address at a disposable (throw-away) mail service such as mailinator.com is refused in 'email' unless the network allows such addresses in its white-label settings. Parameters that are not fields of this operation are not applied and are listed in ignoredFields, each with its reason in ignoredFieldReasons.
Path Params
key string required
The network's public key, as set in its white-label settings.
abc123publickey hash string required
Data integrity hash, computed as MD5(username + password + email + privateKey + timestamp), where privateKey is the network's private key. Used to verify the request was signed with the correct private key and data has not been tampered with.
d41d8cd98f00b204e9800998ecf8427e timestamp integer required
UNIX timestamp in milliseconds when the request was created. Must be within 5 minutes of the server's current time to prevent replay attacks.
1700000000000 Form Params
role string
Legacy alternative to aclRole: a role name, mapped to the matching stock role. Ignored when aclRole is sent
ADMIN aclRole integer
ACL role defining user permissions — ID of the acl role
3 accountUIStyle string
UI layout style preference (TREES, GRIDS)
TREES comments string
Internal notes and comments about the user
VIP client, priority support compactMode boolean
Compact UI density preference; null means the client keeps its own default
false company string
Company name
Acme Corp country string
Two-letter country code (ISO 3166-1 alpha-2)
US darkTheme boolean
Dark color theme preference; null means the client keeps its own default
false email string
User email address (must be unique)
user@example.com firstName string
First name
John lastName string
User's last (family) name
Smith locale string
User preferred UI locale/language (BCP-47 tag); when empty, the network's default language applies, then English
en password string
User password (8-64 characters)
s3cur3P@ss phone string
Phone number
+1234567890 receiveNewsletter boolean
Opt in to receive newsletter emails
true receiveNotificationsByEmail boolean
Receive system notifications by email
true referer string
Referrer URL that brought the user to sign up
https://partner-site.com/signup referralId integer
Referral user ID if this user was referred by another user
42 state string
State or province
California tracking.campaign string
Campaign tracking parameter (UTM campaign name)
spring_sale tracking.page string
Landing page tracking parameter
/pricing tracking.term string
Search term tracking parameter (UTM term)
ad+server username string
Login username (must be unique)
john_doe websiteUrl string
Website URL
https://www.example.com confirmPassword string
Password confirmation. Must match the 'password' field exactly; otherwise a validation error is returned.
s3cur3P@ss Responses
200
User registered successfully (includes 'result' message) or validation errors returned in 'errors' map
400
Bad request — invalid or missing parameters
401
Authentication error — the key does not match the network's public key, or the hash does not match
404
Not found — resource does not exist