Reseller Central JSON API Developer Docs - My Account Functions

My Account Functions

The below functions allow you to view your account information and messages recieved within your Reseller Central.

viewMyAccount

Retieve your account information stored within Reseller Central.

  • Required Parameters:
    • api_key (string) - Reseller Central generated API Key
  • Example: https://cp.hostnine.com/api/?module=viewMyAccount&api_key=mygeneratedapikey
  • Return: Show

getMessages

Retieve a list of messages recieved from various actions in your Reseller Central.

  • Required Parameters:
    • api_key (string) - Reseller Central generated API Key
  • Optional Parameters:
    • page (int) - number of the page of messages to show
    • num (int) - number of items per page of messages to show
  • Example: https://cp.hostnine.com/api/?module=getMessages&api_key=mygeneratedapikey&page=1&num=2
  • Return: Show

viewMessage

View a message that you have recieved via actions within Reseller Central.

  • Required Parameters:
    • api_key (string) - Reseller Central generated API Key
    • message_id (int) - message id to view
      • send the text string "latest" (without quotes) to get your most recent message
  • Example: https://cp.hostnine.com/api/?module=viewMessage&api_key=mygeneratedapikey&message_id=204603
  • Return: Show

getNewsPosts

Retieve a list of news posts that are within Reseller Central.

  • Required Parameters:
    • api_key (string) - Reseller Central generated API Key
  • Optional Parameters:
    • limit (int) - number of the news posts to show
  • Example: https://cp.hostnine.com/api/?module=getNewsPosts&api_key=mygeneratedapikey&limit=2
  • Return: Show

viewNewsPost

View a news post that is within Reseller Central.

  • Required Parameters:
    • api_key (string) - Reseller Central generated API Key
    • news_id (int) - news id to view
      • send the text string "latest" (without quotes) to get the most recent news post
  • Example: https://cp.hostnine.com/api/?module=viewNewsPost&api_key=mygeneratedapikey&news_id=90
  • Return: Show