REST API

Documentation


Register for a free test account first.

Authentication

Print API is secured with OAuth 2.0. This means your app must identify itself before it can communicate with the API. This is called authentication. On this page, we'll walk through the authentication process.

TIP: Keep your API keys at hand. These are found on your dashboard.

Example

If you use our PHP library, just copy the following code and replace the CLIENT_ID and SECRET with your API keys. That's all! If you're not using PHP, take a look at our HTTP sample.

$api = PrintApi::authenticate('CLIENT_ID', 'SECRET');

The variable $api now contains an authenticated API client. You can use this API client to call Print API functions. For example:

$orders = $api->get('/orders', array('limit' => 5));
Next