Skip to main content

Register Account

  • If not existing an account was registered with your phone number, you need to register an account on for STG and for PROD.

  • If you have created an account on the system or we found an existing account with your phone number. We'll update your account with extra info which you provide and return the token.

HTTP Request

curl -X GET \
-H 'cache-control: no-cache'


Query Parameters

api_keyStringYesThe API_KEY of your application which received when you send an email to our developer portal.
mobileStringYesYour phone number used to register account ID.
nameStringYesYour account name.
addressStringYesYour home address (Optional if account already existed).
latStringYesLatitude of home address (Optional if account already existed).
lngStringYesLongitude of home address (Optional if account already existed).
emailStringNoYour email address.
parent_idStringNoParent Account ID.
country_codeStringNoCountry code, used for formatting the mobile number (default VN).


JSON response example:

"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhaGEiLCJ0eXAiOiJ1c2VyIiwiY2lkIjoiODQ5MDI5MzMwMjUiLCJzdGF0dXMiOiJPTkxJTkUiLCJlb2MiOiJob2RkQGFoYW1vdmUuY29tIiwibm9jIjoiRG9hbiBEYWkgSG8iLCJjdHkiOiJTR04iLCJhY2NvdW50X3N0YXR1cyI6IkFDVElWQVRFRCIsImV4cCI6MTY5NTI3NjM2OCwicGFydG5lciI6Im9kb28iLCJ0eXBlIjoiYXBpIn0.celDzdkTiNuIjEf_8LDCJHTyK74BuceXB5IYhfHo08I",
"refresh_token": "0c42af2105249b126b80862e96b3b055"

Status-Code: 200 OK


404Not Foundapi_key not found, parent_id not found.
401UnauthorizedNot authorized. The current account does not belong to this partner.
409ConflictEmail existed.
403ForbiddenAccount is deactivated.
500Internal Server ErrorWe had a problem with our server. Try again later.
503Service UnavailableWe're temporarily offline for maintenance. Please try again later.