Ploi API
Ploi API

Get script

Get a script from your account

GET api/scripts

Example request:

curl -X GET "https://ploi.io/api/scripts" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 1,
        "user": "ploi",
        "label": "Echo Script",
        "content": "echo 123",
        "created_at": "2019-08-07 11:21:02"
    }
}