Skip to main content

Register New User

POST 

/auth/v1/signup

Register a new user

Request

Body

required
    email string
    phone_number string
    username string
    verification_token Received verification code token (string)
    password optional password (string)
    name optional nickname (string)
    gender optional avatar in CSS-encoded format (string)
    picture optional avatar in CSS-encoded format (string)
    locale optional region (if empty, backend determines initial region based on phone number, IP address, etc.) Format: zh (string)
    provider_token Bind third-party information to this account if previously obtained (string)
    anonymous_token access_token during anonymous registration (string)

Responses

A successful response.

Schema
    token_type string
    access_token string
    refresh_token string
    id_token string
    expires_in int32
    scope string
    sub string
    groups string[]
    need_weda_resource boolean
Loading...