--- title: "Guest access URL" source_url: https://dev.digicert.com/certcentral-apis/services-api/account/guest-access-url.html api_method: GET api_endpoint: "/services/v2/account/guest-access" api_url: "https://www.digicert.com/services/v2/account/guest-access" --- **GET** `https://www.digicert.com/services/v2/account/guest-access` Use this endpoint to get the guest access URL for your account. ## Example requests and responses **cURL** ```bash curl --request GET 'https://www.digicert.com/services/v2/account/guest-access' \ --header 'X-DC-DEVKEY: {{api_key}}' \ ``` **Python** ```python import requests url = "https://www.digicert.com/services/v2/account/guest-access" payload={} headers = { 'X-DC-DEVKEY': '{{api_key}}' } response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` **Go** ```go package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://www.digicert.com/services/v2/account/guest-access" method := "GET" client := &http.Client { } req, err := http.NewRequest(method, url, nil) if err != nil { fmt.Println(err) return } req.Header.Add("X-DC-DEVKEY", "{{api_key}}") res, err := client.Do(req) if err != nil { fmt.Println(err) return } defer res.Body.Close() body, err := ioutil.ReadAll(res.Body) if err != nil { fmt.Println(err) return } fmt.Println(string(body)) } ``` **NodeJS** ```javascript var request = require('request'); var options = { 'method': 'GET', 'url': 'https://www.digicert.com/services/v2/account/guest-access', 'headers': { 'X-DC-DEVKEY': '{{api_key}}', } }; request(options, function (error, response) { if (error) throw new Error(error); console.log(response.body); }); ``` **200 OK (Guest access enabled)** ```json { "enabled": true, "guest_access_url": {{guest_access_url}} } ``` **200 OK (Guest access disabled)** ```json { "enabled": false } ``` ## Response parameters
Name Type Description
enabled boolean If true, guest access is enabled for the account. Otherwise, false.
guest_access_url string Guest access URL. Only returned if enabled is true.