Servebolt API (v1)
Submit feedback
Submit feedback
  1. Domains
  • Introduction
  • Auth
    • Signup
    • Login
    • User Info
    • Heartbeat
    • Refresh Token
    • Reset Password
    • Resend SMS verification code
    • Verify your phone number
    • MFA Challenge (OTP)
  • 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
      • Environments Dynamic Requests Statistics
      • Environments TTFB Statistics
      • Environments Storage Statistics
    • List Bolts
    • Bolt Name Validate
    • Available CMS
    • Create Bolt
    • Get Bolt
    • Get Bolt Environments
    • Update Bolt
    • Archive Bolt
    • Available PHP Versions
    • Get Bolt Subscription
    • Bolt Usage
    • Update Bolt Quota
    • Transfer Bolt Request
    • Transfer Bolt Request Copy
  • Environments
    • Git
      • Get Environment Git Status
      • Create Git Configuration
      • Update Git Configuration
      • Delete Environment Git Repository
      • Deploy Git Repository
      • Regenerate Git Public Key
      • Retrieve Git Repository Branches
      • Test Git Repository Connection
    • Domains
      • List Domains
        GET
      • List Environment Domains
        GET
      • Get Environment Domain
        GET
      • Create Domain Validation
        POST
      • Create Environment Domain
        POST
      • Delete Domain
        DELETE
      • Get Domain Certificates
        GET
      • Link Certificate to Domain
        POST
      • Unlink Certificate from Domain
        POST
    • Logs
      • Get Environment Apache Access Logs
      • Get Environment Apache Error Logs
      • Get Environment Cron Errors
    • List Environments
      GET
    • Create Environment
      POST
    • Get Environment
      GET
    • Update Environment
      PATCH
    • Delete Environment
      DELETE
    • Purge Environment Cache
      POST
    • List Environment Cronjobs
      GET
    • Get Environment Statistics
      GET
    • Get Environment Available Settings
      GET
    • Get Environment PHP Versions
      GET
    • Get Environment Usage
      GET
    • Get Environment SSH Accesses
      GET
    • Create Environment SSH Access
      POST
    • Remove Environment SSH Access
      DELETE
    • List Environment Databases
      GET
    • Toggle Environment Dev Mode
      POST
    • Environment Install Wordpress
      POST
    • Environment Optimize Wordpress
      POST
  • 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. Domains

Get Domain Certificates

GET
https://api.servebolt.io/v1/environments/{id}/domains/{domainId}/certificates
Get all certificates linked to a domain in an environment.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
domainId
string 
required
Header Params
Accept
string 
required
Example:
application/json
Content-Type
string 
required
Example:
application/json

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/environments//domains//certificates' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
Body
data
array [object {3}] 
required
id
integer 
required
type
string 
required
attributes
object 
required
links
object 
required
first
string 
required
last
string 
required
prev
null 
required
next
null 
required
meta
object 
required
current_page
integer 
required
from
integer 
required
last_page
integer 
required
links
array [object {3}] 
required
path
string 
required
per_page
integer 
required
to
integer 
required
total
integer 
required
Example
{
    "data": [
        {
            "id": 102,
            "type": "certificateOrder",
            "attributes": {
                "customerId": 2004,
                "sslId": 223,
                "type": "SELF_SIGNED",
                "status": "ACTIVE",
                "domain": "domain1.com",
                "isWildcard": false,
                "isLinkable": true,
                "isUsed": true,
                "domains": [
                    {
                        "id": 2476,
                        "name": "domain1.com",
                        "boltId": 8944,
                        "environmentId": 1702
                    }
                ],
                "autoRenew": true,
                "dnsChallenges": [],
                "expiresAt": "2025-05-06T15:49:41.000000Z"
            }
        },
        {
            "id": 96,
            "type": "certificateOrder",
            "attributes": {
                "customerId": 2004,
                "sslId": 217,
                "type": "NAMECHEAP",
                "status": "ACTIVE",
                "domain": "domain2.com",
                "isWildcard": false,
                "isLinkable": true,
                "isUsed": true,
                "domains": [
                    {
                        "id": 2476,
                        "name": "domain2.com",
                        "boltId": 8944,
                        "environmentId": 1702
                    }
                ],
                "autoRenew": true,
                "dnsChallenges": [],
                "expiresAt": "2025-04-19T23:59:59.000000Z"
            }
        }
    ],
    "links": {
        "first": "https://xxx/v1/environments/1702/domains/2476/certificates?page=1",
        "last": "https://xxx/v1/environments/1702/domains/2476/certificates?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://xxx/v1/environments/1702/domains/2476/certificates?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://xxx/v1/environments/1702/domains/2476/certificates",
        "per_page": 15,
        "to": 2,
        "total": 2
    }
}
Previous
Delete Domain
Next
Link Certificate to Domain
Built with