Servebolt API (v1)
Submit feedback
Submit feedback
  1. Bolts
  • Introduction
  • Auth
    • Signup
      POST
    • Login
      POST
    • User Info
      GET
    • Heartbeat
      GET
    • Refresh Token
      POST
    • Reset Password
      POST
    • Resend SMS verification code
      POST
    • Verify your phone number
      POST
    • MFA Challenge (OTP)
      POST
  • Bolts
    • Access
      • Invite User Contact
      • List Contacts
      • Update Contact Role
      • Delete Contact
    • Databases
      • List Bolt Databases
      • Get Bolt Database
      • Create Bolt Database
      • Update Bolt Database
      • Delete Bolt Database
    • Statistics
      • Dynamic Requests Statistics
      • TTFB Statistics
      • Storage Statistics
      • Content Type Statistics
      • Cache Statistics
      • Sites Dynamic Requests Statistics
      • Sites TTFB Statistics
      • Sites Storage Statistics
    • List Bolts
      GET
    • Bolt Name Validate
      POST
    • Available CMS
      GET
    • Create Bolt
      POST
    • Get Bolt
      GET
    • Get Bolt Sites
      GET
    • Update Bolt
      PUT
    • Archive Bolt
      DELETE
    • Available PHP Versions
      GET
    • Get Bolt Subscription
      GET
    • Bolt Usage
      GET
    • Update Bolt Quota
      POST
    • Transfer Bolt Request
      POST
    • Transfer Bolt Request Copy
      GET
  • Sites
    • Git
      • Get Git Status
      • Create Git Configuration
      • Update Git Configuration
      • Delete Git Repository
      • Deploy Git Repository
      • Regenerate Git Public Key
      • Retrieve Git Repository Branches
      • Test Git Repository Connection
    • Domains
      • List Domains
      • List Site Domains
      • Get Site Domain
      • Create Domain Validation
      • Create Site Domain
      • Delete Domain
      • Get Domain Certificates
      • Link Certificate to Domain
      • Unlink Certificate from Domain
    • Logs
      • Get Apache Access Logs
      • Get Apache Error Logs
      • Get Cron Errors
    • List Sites
    • Create Site
    • Get Site
    • Update Site
    • Delete Site
    • Purge Site Cache
    • List Site Cronjobs
    • Get Site Statistics
    • Get Environment Available Settings
    • Get Site Available PHP Versions
    • Get Site Usage
    • Get Site SSH Accesses
    • Create Site SSH Access
    • Remove Site SSH Access
    • List Site Databases
    • Toggle Site Dev Mode
    • Site Install Wordpress
    • Site Optimize Wordpress
  • Locations
    • List Locations
    • Check SL8 Availability
    • Available Countries
  • Databases
    • List Databases
    • Get Database
    • Create Database
    • Update Database
    • Delete Database
    • Link Database
    • Unlink Database
    • Get Slow Queries
  • Cronjobs
    • List Cronjobs
    • Create Cronjob
    • Get Cronjob
    • Update Cronjob
    • Delete Cronjob
  • SSH Keys
    • List SSH Keys
    • Add a new SSH Key
    • Get SSH Key
    • Delete SSH Key
  • Certificates
    • List Certificate Orders
    • Get Certificate Order
    • Order new Certificate
    • Store custom certificate
    • Update Auto-Renewal
    • Verify DNS challenge
    • Delete Certificate Order
  • Billing
    • Pricing Calculator
    • Get Billing Customer Info
    • Update Bolt Subscription
    • List Invoices
    • Download Invoice
  • Profile
    • Get User Profile
    • Update User Profile
    • Update Profile Picture
    • Delete Profile Picture
  1. Bolts

List Bolts

GET
https://api.servebolt.io/v1/bolts
List all the Bolts you have access to.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.servebolt.io/v1/bolts'

Responses

🟢200OK
application/json
Body

Example
{
    "data": [
        {
            "id": 0,
            "type": "string",
            "attributes": {
                "internalName": "string",
                "boltId": 0,
                "name": "string",
                "customerId": 0,
                "customer": "string",
                "subscriptionId": "string",
                "plan": "string",
                "enabled": true,
                "hostname": "string",
                "dedicated": true,
                "location": "string",
                "environments": 0,
                "cms": "string",
                "services": {
                    "php": "string"
                },
                "storage": {
                    "used": 0,
                    "total": 0
                },
                "created": "string",
                "domains": [
                    "string"
                ],
                "price": null,
                "isLegacy": true,
                "isArchived": true
            },
            "relationships": {
                "environments": [
                    {
                        "id": "string",
                        "type": "string",
                        "attributes": {
                            "title": "string",
                            "enabled": true,
                            "hostname": "string",
                            "ip": "string",
                            "internalName": "string",
                            "internalUrl": "string",
                            "phpVersion": "string",
                            "phpExtensions": [
                                {
                                    "id": 0,
                                    "name": "string",
                                    "cli": true,
                                    "web": true
                                }
                            ],
                            "phpWorkers": {
                                "max": 0,
                                "nice": 0,
                                "maxRequests": 0
                            },
                            "domains": [
                                "string"
                            ],
                            "state": "string",
                            "storage": {
                                "used": null,
                                "total": 0
                            },
                            "location": "string",
                            "devMode": true,
                            "apikey": "string",
                            "isLegacy": true,
                            "cloudflareLock": true,
                            "cacheMode": "string",
                            "phpMemoryLimit": 0,
                            "htaccessRoot": "string",
                            "ssh": true,
                            "sftp": true,
                            "phpTimezone": "string",
                            "environmentInfoFile": "string"
                        },
                        "relationships": {
                            "bolt": {
                                "data": {
                                    "id": "string",
                                    "type": "string",
                                    "attributes": {
                                        "internalName": "string"
                                    }
                                }
                            }
                        },
                        "links": {
                            "self": "string"
                        }
                    }
                ],
                "databases": [
                    {
                        "id": 0,
                        "type": "string",
                        "attributes": {
                            "webhostId": 0,
                            "name": "string",
                            "dbHost": "string",
                            "dbName": "string",
                            "dbUser": "string",
                            "size": 0,
                            "tags": "string",
                            "environments": [
                                {
                                    "id": 0,
                                    "name": "string",
                                    "state": "string"
                                }
                            ]
                        },
                        "relationships": {
                            "bolt": {
                                "data": {
                                    "type": "string",
                                    "id": 0
                                }
                            },
                            "server": {
                                "data": {
                                    "type": "string",
                                    "id": 0
                                }
                            }
                        }
                    }
                ]
            }
        }
    ],
    "links": {
        "first": "string",
        "last": "string",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 0,
        "from": 0,
        "last_page": 0,
        "links": [
            {
                "url": "string",
                "label": "string",
                "active": true
            }
        ],
        "path": "string",
        "per_page": 0,
        "to": 0,
        "total": 0
    }
}
Modified at 2024-07-04 12:57:18
Previous
Sites Storage Statistics
Next
Bolt Name Validate
Built with