Official smallinvoice API
With the smallinvoice API you can create modify and track everything going on in your account.
You can access our API with the following Base-URL:
Every possible API-call is built up with an endpoint and action. For example getting a list of invoices targets the endpoint invoice and the action is list.
Every request has to contain a parameter token in the request URL.
This token can be retreived when you're logged into your account under Configuration->Users->(button)My API Token and can be regenerated at any time. When you regenerate your token, the current one is disabled.
Nearly every requests can contain URL parameters that for example sorts lists or defines what objects you are manipulating.
These are passed in a key/value pair and do not require a specific order.
When performing a POST-Request, it will be sometimes necessary to provide body parameters in form of a JSON-Object passed in the POST-Variable data.
Example: Passing the Body Parameters amount and value both set to 1 would look the following: