Ploi Core
Ploi Core


Your installation also offers the ability to use an API. Head over to the administration and press "Settings", after that you'll be able to enable the API at the bottom.

CleanShot 2020-09-21 at 15.10.38


The token you have generated can be used as a bearer token against your API.

Authorization: Bearer API_TOKEN_HERE

In this cURL example we demonstrate how to authenticate with our API:

$ curl \
    -H 'Authorization: Bearer n3h4bZK1bCbQ2EBpibvWykSzP7aJuuXeJz...' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json'