Documentation

API DEVICE V1 : Introduction

NEW VERSION V2: CLICK HERE

Are you a developer or web agency? Join the Expedy Partner program

This section describes the main functionalities for interconnecting an Expedy machine with external web sites, or any other web-connected application.


Unless otherwise indicated, all queries are made in “post”.

All calls are secured by a control key:
SID: “XXXXXXXXXXXXXXXXXXXXXXXXXXX”
TOKEN: “XXXXXXXXXXXXXXXXXXXXXXXXXXX”

You can access this key in your customer area at https://www.expedy.fr/console

If you have not received your Expedy credentials , please contact support.


The Web Service provided by Expedy is:
https://www.expedy.fr/api/device/nom_du_service

EXPEDY DEVICE V1 service list :

Administration endpoints

/device/status
/device/ping
/device/update
/device/reboot
/device/shutdown

Wifi endpoints

/device/wifi/conf
/device/wifi/add
/device/wifi/del
/device/wifi/update

endpoints Usb/Impression

/device/usb/conf
/device/usb/scan
/device/usb/scan/read
/device/usb/print

One of the simplest ways of dialoguing with a Web Service in PHP is to use the “curl” function.

Contact our support team for examples in other programming languages.

Error management

In the event of a class 4xx, 5xx communication error with the api, your language’s curl function can return the reason(s).

In the event of valid communication with the API, but with argument or request errors, an error response is returned, including an explanation, e.g.:
{“status”: “error”, “error”: “rpi_uid is empty”}

In the case of valid requests, the returned status value is always “ok”.

Français (French) English Español (Spanish)