Browse the help center

Register a new user

Creates a new user account via the public REST API.

Reference
POST 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. 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.

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

User role type (ADMIN, ADVERTISER, PUBLISHER, NETWORK)

ADVERTISER

aclRole integer

ACL role defining user permissions — ID of the acl role

3

accountUIStyle string

UI layout style preference (TREES, GRIDS)

TREES

active boolean

Whether the user account is active

true

additionalRecipients string

Comma-separated list of additional notification email recipients

alerts@example.com,manager@example.com

additionalRecipientsPresent boolean

Whether additional email recipients are configured for notifications

true

adsHost string

Custom ad serving domain for this user

ads.example.com

advancedAnalyticsView string

Advanced analytics view mode (SIMPLE, EXTENDED, UNIQUE)

SIMPLE

campaignSetupMasked boolean

Mask campaign setup details in the UI

true

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

hideReferralDetails boolean

Hide referral details from the user's dashboard

true

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

owner integer

Parent/owner user (for sub-accounts) — ID of the user

500

password string

User password (8-64 characters)

s3cur3P@ss

paymentsAccountData string

Payment account data (bank/PayPal details as JSON)

{"paypal":"payments@example.com"}

permissions array<string>

User-level permission overrides

MANAGE_BANNERS,MANAGE_CAMPAIGNS

phone string

Phone number

+1234567890

publisherCategories string

Publisher category IDs (transient, comma-separated)

10,20,35

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

referralShareEnabled boolean

Whether referral revenue sharing is enabled for this user

true

referredClientStatus string

Referred client status tracking the referral lifecycle

UNDER_REVIEW

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

userTemplates array<integer>

Notification email templates assigned to this user — IDs of the notification template entities, comma-separated or as repeated parameters

1,2,5

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

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.