Skip to main content
Authenticate with the BookHub Publisher API using JWT bearer tokens.

JWT bearer token

All API requests require authentication using a JWT bearer token.

Obtaining a token

Tokens are issued manually by BookHub support. To request one, email api–support@bookhub.com with your publisher name, account ID, and contact email.

Using the token

Replace YOUR_JWT_TOKEN with the 24–hour JWT provided by api–support@bookhub.com.

Token expiration and renewal

Tokens expire 24 hours after they are issued. To renew, email api–support@bookhub.com with the same details you used to request the original token (publisher name, account ID, and contact email).

Authentication errors

A request with a missing, malformed, or expired token returns 401 Unauthorized. Authentication errors return only the status and message fields — they do not include the errors array used for field-level validation failures.

Token security

Store tokens securely and never expose them in client–side code, version control, or logs. Rotate tokens immediately if compromised by contacting api–support@bookhub.com.

Next steps

Explore related topics:

How-to guides

Reference

  • API endpoints — Provides additional information about the BookHub Publisher API v2 endpoints, including business rules.
  • Code examples — Copy code samples for book creation, sorting by creation date, handling removed title sorting, and tracking performance with hitCount.
  • Release notes — Explore all changes in BookHub Publisher API v2.

Last modified on August 18, 2026