Skip to content

Get book settings

GET
/api/v1/books/settings
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.

Done

Media typeapplication/json
object
authorName
required
string
<= 120 characters
authorBio
required
string
<= 2000 characters
authorImageId
required
Any of:
string
<= 200 characters
imprint
required
string
<= 120 characters
website
required
string
<= 300 characters
anonymize
required
boolean
figureModel
required
string
Allowed values: sunburst flare
printing
required
object
color
required
string
Allowed values: BW FC
quality
required
string
Allowed values: STD PRE
binding
required
string
Allowed values: PB CW LW CO SS
paper
required
string
Allowed values: 060UW444 060UC444 080CW444 070CW460
finish
required
string
Allowed values: M G
linen
required
Any of:
string
Allowed values: N G R B T F
foil
required
Any of:
string
Allowed values: G B W
shippingLevel
required
string
Allowed values: MAIL PRIORITY_MAIL GROUND_HD GROUND_BUS GROUND EXPEDITED EXPRESS
printShipTo
required
Any of:
object
name
required
string
>= 1 characters <= 35 characters
organization
required
Any of:
string
<= 30 characters
street1
required
string
>= 1 characters <= 30 characters
street2
required
Any of:
string
<= 30 characters
city
required
string
>= 1 characters <= 30 characters
stateCode
required
Any of:
string
<= 3 characters
postcode
required
string
>= 1 characters <= 64 characters
countryCode
required
string
>= 2 characters <= 2 characters
phone
required
string
/^\+?[\d\s\-./()]{8,20}$/
email
required
Any of:
string format: email
<= 254 characters /^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
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
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}