tencent cloud

Feedback

Interface API

Last updated: 2025-01-08 10:02:08

    User information verification

    Request URL: http post /superapp/user/checkUser

    Request parameters

    Field
    Type
    Description
    UserId
    string
    Login user ID obtained by the SDK from the app.

    Response parameters

    Field
    Type
    Description
    ReturnCode
    string
    Status code.
    ReturnMessage
    string
    Description message.
    Data
    boolean
    Indicates whether the user exists

    Get user profile photo

    Request URL: http post /superapp/user/getUserAvatar

    Request parameters

    Field
    Type
    Description
    UserId
    string
    Login user ID obtained by the SDK from the app.

    Response parameters

    Field
    Type
    Description
    ReturnCode
    string
    Status code.
    ReturnMessage
    string
    Description message.
    Data
    string
    The URL of the profile photo.

    Get user nickname

    Request URL: http post /superapp/user/getUserNick

    Request parameters

    Field
    Type
    Description
    UserId
    string
    Login user ID obtained by the SDK from the app.

    Response parameters

    Field
    Type
    Description
    ReturnCode
    string
    Status code.
    ReturnMessage
    string
    Description message.
    Data
    string
    Nickname.

    Get temporary code for user's mobile number and email

    Request URL: http post /superapp/user/getUserInfoTemporaryCode

    Request parameters

    Field
    Type
    Description
    UserId
    string
    Login user ID obtained by the SDK from the app.
    Type
    string
    Value: email or phone

    Response parameters

    Field
    Type
    Description
    ReturnCode
    string
    Status code.
    ReturnMessage
    string
    Description message.
    Data
    object
    Data object.
    Data.code
    string
    Temporary code.
    Data.data
    string
    Masked data, such as 136****6688.

    Get user mobile number

    Request URL: http post /superapp/user/getUserPhoneNumber

    Request parameters

    Field
    Type
    Description
    UserId
    string
    Login user ID obtained by the SDK from the app.
    TemporaryCode
    string
    Temporary code.

    Response parameters

    Field
    Type
    Description
    ReturnCode
    string
    Status code.
    ReturnMessage
    string
    Description message.
    Data
    string
    Encrypted mobile number.

    Get user email

    Request URL: http post /superapp/user/getUserEmail

    Request parameters

    Field
    Type
    Description
    UserId
    string
    Login user ID obtained by the SDK from the app.
    TemporaryCode
    string
    Temporary code.

    Response parameters

    Field
    Type
    Description
    ReturnCode
    string
    Status code.
    ReturnMessage
    string
    Description message.
    Data
    string
    Encrypted email address.

    Error code

    Error code
    Error code value
    Description
    0
    OK
    OK
    200000
    request data is not exist
    Requested data does not exist.
    200001
    Invalid User
    User error or exception
    200002
    Invalid User id
    Invalid user ID.
    200003
    ITemporary code error or expired
    Temporary code error or expired
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support