Skip to content

Send book by email

POST
/api/v1/email/book
curl --request POST \
--url http://127.0.0.1:58259/api/v1/email/book \
--header 'Content-Type: application/json' \
--data '{ "bookId": 1, "providerId": 1, "recipientId": 1, "bookFileId": 1 }'

Send a book to a recipient via email. Requires email permission or admin.

Media type application/json

Send book by email request

object
bookId
required
integer format: int64
providerId
required
integer format: int64
recipientId
required
integer format: int64
bookFileId
integer format: int64
Example generated
{
"bookId": 1,
"providerId": 1,
"recipientId": 1,
"bookFileId": 1
}

Book sent successfully

Media type */*
object