Get the background image key status
GET
/api/v1/admin/appearance/unsplash-key
const url = 'https://example.com/api/v1/admin/appearance/unsplash-key';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/admin/appearance/unsplash-key \ --header 'Authorization: Bearer <token>'Returns the background image key status. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/appearance/unsplash-key. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
The admin API exposes whether a key exists, never the key itself.
object
configured
required
boolean
Examplegenerated
{ "configured": true}