Get your API token
Login to your account and navigate to your profile to generate a new API token. You can name your API token so you are aware of where the token is being used, this way you can recognize and delete it later when you do not need it anymore.
Authorize with API
The token you have received (a very long string) can be used as a
bearer token against our API.
Authorization: Bearer API_TOKEN_HERE
In this cURL example we demonstrate how to authenticate with our API:
$ curl https://ploi.io/api/servers \ -H 'Authorization: Bearer n3h4bZK1bCbQ2EBpibvWykSzP7aJuuXeJz...' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json'