Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.
Johnathan Martin edited this page Jul 29, 2017 · 15 revisions

The API is currently disabled but it is on our very long TODO list to get it up and running again.

Account

Returns json data for user's account.

Your API key is the same as your Google Authenticator Secret. You must enable Two Factor Authentication to use API.

  • URL

    /api.php?key=key

  • Method:

    GET

  • URL Params

    Required:

    apikey=[integer]

  • Success Response:

    • Code: 200
      Content: { "id": "12", "username": "admin", "balance": "1.72", "address": "1EpoYVs32ojtgENUsDr3fwGm8QLch8ux1b", "supportpin": "16672" "twofactor_enabled": "1" "admin": "1" }
  • Error Response:

    • Code: 401 UNAUTHORIZED
      Content: { error : "API Key invalid" }
Clone this wiki locally