Create a book record
Creates a book that covers can be generated against. author is required unless genre is the planner genre (Planner & Journal / planner-journal). When subgenre is omitted for a high-variance genre, the server auto-detects one from the book details (an explicit subgenre always wins; detection failure leaves it null). An explicit subgenre must be one of the genre's values, else 400 invalid_subgenre. Supports idempotent replay via the Idempotency-Key header: a repeated key returns 200 with the previously created book instead of 201.
Request
- Base URL: https://beyourcover.com
- URL: https://beyourcover.com/api/v1/books
- Auth: HTTP bearer
Headers
Optional idempotency key. If a resource/job was already created with the same key (scoped to the API key for jobs, to the user for books), the endpoint returns 200 with the existing resource instead of creating a duplicate. Concurrent duplicates are also collapsed via a unique-constraint retry.
Request body
Response
Idempotent replay: a book with the same Idempotency-Key already exists for this user. external_ref is echoed from the current request, not the original one.
Changes
No recorded changes to this operation across all 1 revision of this API.