Ploi Core

Get site

Get site

Get a specific site.

GET api/sites/{site}

Example request:

curl -X GET "https://panel.example.hosting.com/api/sites/1" \
-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,
        "status": "active",
        "server_id": 146,
        "domain": "domain.com",
        "user_id": "120",
        "created_at": "2022-07-23T13:35:51.000000Z"
    },
}