# register

# Function

Function Name Description Level
register register a new forum account. If token and code was provide and verified, new registered account no need activation. This function was substituted by new 'sign_in' function which can do register and login together.

Input Parameters:

Name Type Required? Description Level
username byte[] yes
password byte[] yes
email byte[] yes
token String login with tapatalk id will get the token
code String md5 of fid, tapatalk id join email of tapatalk id, sample: md5('123|1234|xxxx@gmail.com')

Output Parameters:

Name Type Required? Description Level
result Boolean yes Response status
result_text byte[] Error message
preview_topic_id String Some forums require new registered user to read a preset topic before he can do any other actions in the forum. Then return the topic id here. App will jump to the topic after registration.