A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: core/MY_Controller.php

Line Number: 258


File: /home/lourenss/www/pingen_www/application/core/MY_Controller.php
Line: 258
Function: _error_handler

File: /home/lourenss/www/pingen_www/application/core/MY_Controller.php
Line: 54
Function: get_browser_language

File: /home/lourenss/www/pingen_www/application/controllers/Api.php
Line: 7
Function: __construct

File: /home/lourenss/www/pingen_www/index.php
Line: 316
Function: require_once

Pingen | Send Letters Online for Private, Business and Software Developers


You can access our API with the following Base-URL:

                    GET https://api.pingen.com/

Every possible API-call is built up with an endpoint and action. For example getting a list of documents targets the endpoint documents and the action is list.

                    GET https://api.pingen.com/documents/list/


Every request has to contain a parameter token in the request URL.

                    GET https://api.pingen.com/documents/list/token/60abd.../

This token can be retreived when you're logged into your account under Settings->Users->(button)My API Token and can be regenerated at any time. When you regenerate your token, the current one is disabled.

URL Parameters

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.

                    GET https://api.pingen.com/documents/list/key1/value1/key2/value2/token/60abd.../

Body Parameters

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 send and sendspeed both set to 1 would look the following: