Covers List#
GET
/user-settings/covers/user/front
GET
/user-settings/covers/user/back
GET
/user-settings/covers/organization/front
GET
/user-settings/covers/organization/back
Return a list of front or back covers for PDF templates, available for the user or all organization members.
Request#
Example request#
curl -X GET 'https://api.pricehubble.com/api/v1/user-settings/covers/user/front' \
-H 'Authorization: Bearer 74126eab0a9048d993bda4b1b55ae074'
Response#
Example Response#
{
"items": [
{
"uuid": "a3bfec7a-b985-4244-a7f1-4bd25a4a1d85",
"title": "My default cover",
"url": "https://storage.googleapis.com/.../...e9742b1f0f55.pdf"
},
{
"uuid": "85387d08-e9b7-4406-80d1-6eb6db7c34dc",
"title": "Another cover",
"url": "https://storage.googleapis.com/.../...ec3de1a23bc5.pdf"
}
]
}
Response fields#
The response is an array of all the front or back covers available for the user or all organization members.
Field | Description | Type | Remarks |
---|---|---|---|
items | List of matching covers | array of Covers | empty array if no results |