Account API - Account Info

This API retrieves the general information of your account.

API URL:

https://secure.hoiio.com/open/user/get_info
Request Parameters
app_id Required Application ID assigned to your application.
access_token Required Access Token assigned to your application.

Response Parameters
status The result of your request. Refer to Result Status for details.
uid The user id of your account.
name The full name of your account.
mobile_number The registered number of your account. Phone numbers start with a "+" and country code (E.164 format), e.g. +6511111111.
caller_ids The list of caller ids you can use consisting of:
  • Your registered number
  • Your Hoiio Number
  • "private"
email The email address of your account. This is present only if the email address is verified.
country The country of your account in ISO 3166-1 alpha-2 format (e.g. SG).
prefix The country code prefix of your account (e.g. +65)
currency Currency used for this account. Refer to Currency Code for the list of currency code.

Result Status
success_ok The request has been processed successfully.
error_invalid_http_method Invalid HTTP method. Only GET or POST are allowed.
error_malformed_params HTTP POST request parameters contains non-readable bytes.
error_X_param_missing A required parameter is missing. X is the name of the parameter that is missing.
error_invalid_access_token Your Access Token is invalid, expired or has been revoked.
error_invalid_app_id Your Application ID is invalid or has been revoked.
error_rate_limit_exceeded You have exceeded your request limit for this API. Refer to API Limits for details.
error_internal_server_error There is an unexpected error. Please contact Hoiio support for assistance.

Sample Response:

{
    "status":"success_ok",
    "name":"John Doe",
    "mobile_number":"+6511111111",
    "caller_ids":["+6511111111", "p"],
    "email":"myemail@example.com",
    "country":"SG",
    "prefix":"+65",
    "currency":"SGD"
}

Notifications

None.

API Limits

3 requests per minute per application

Charges

None.