Authentication
There are two authentication methods supported:
- requests signed with a hash based authentication method (HMAC)
- SSL/TLS secured requests with password
Both methods require an individual password (this is the key parameter of the authenticated requests), issued upon request. Please contact us at api@epubli.com to obtain your own credentials.
Tests to the API can be made through the SSL/TLS authentication method using PartnerID: 'demo' and the key: 'demo'. This demo credentials will not work to create new print jobs. If you want to request your own credentials please contact us at api@epubli.com.
HMAC
This authentication method uses two additional request parameters 'signature' and 'timestamp'. Both are calculated by a simple cryptographic signing algorithm, together with an individual key. An implementation for PHP is provided upon request. This method is recommended, since the secret key is not transmitted.
SSL/TLS
For this method, every request has to be sent via the secure https-protocol. The individual password is passed as the 'key' request parameter. For examples using this authentication method see code examples.