Get book settings
GET
/api/v1/books/settings
const url = 'https://digize.com/api/v1/books/settings';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
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://digize.com/api/v1/books/settings \ --header 'x-api-key: <x-api-key>'Books › Settings: the author’s name, bio and photo, the imprint and website new books start with, whether they start with names anonymized, and figureModel, the GPT Image model figures and covers are drawn with on the workspace’s OpenAI account (sunburst for detail, flare for speed).
Needs the books:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
Media typeapplication/json
object
authorName
required
string
authorBio
required
string
imprint
required
string
website
required
string
anonymize
required
boolean
figureModel
required
string
printing
required
printShipTo
required
Any of:
object
name
required
string
street1
required
string
city
required
string
postcode
required
string
countryCode
required
string
phone
required
string
null
authorImageUrl
required
string | null
Example
{ "figureModel": "sunburst", "printing": { "color": "BW", "quality": "STD", "binding": "PB", "paper": "060UW444", "finish": "M", "linen": "N", "foil": "G", "shippingLevel": "MAIL" }}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}