Content API Reference
The Content API v1 described on this page is deprecated. It still works during the migration period, but it no longer receives new features and will be removed in a future release.
- Starting a new integration? Use the Content API v3 instead.
- Already using v1? Follow the Content API v1 → v3 Migration Guide to upgrade.
Overview
The Content API allows you to manage digital and physical resources on the Publica.la platform. This includes creating, modifying, deleting, and querying resources such as ebooks, audiobooks, and physical books.
Make sure you generated the api_token on your store. More info in the API Authentication guide
Fields marked as "No" in the "Required" column are optional and can be omitted from the request entirely. You do not need to send them with empty values.
To sell physical books through the API, please contact [email protected] to verify if this feature is enabled for your store.
Endpoint Reference
| Endpoint | Method | Description |
|---|---|---|
| /integration-api/v1/dashboard/issues | POST | Upload new content |
| /integration-api/v1/dashboard/issues | GET | List or query content |
| /integration-api/v1/dashboard/issues/(id) | GET | Retrieve specific content |
| /integration-api/v1/dashboard/issues/(id) | PUT | Update existing content |
| /integration-api/v1/dashboard/issues/(id) | DELETE | Delete content |
All v1 content endpoints below are deprecated. Use the Content API v3 for new integrations, and see the Migration Guide to move existing ones.
Upload Content
Create and upload a new content resource.
Endpoint: POST /integration-api/v1/dashboard/issues
- Digital Content
- Physical Content
Digital Content Request Fields
| Field | Type | Description | Required |
|---|---|---|---|
| publication_date | string | Date of publication (YYYY-MM-DD) | Yes |
| name | string | Title of the publication | Yes |
| description | string | Description of the publication | No |
| extension | string | File extension: mpga, mp3, pdf, or epub | Yes |
| file_url | string | URL of the content (public or signed URL) | Yes |
| external_id | string | Your unique reference code (must be unique) | Yes |
| free | boolean | Whether content is freely accessible | No |
| bisac | array | Bisac Codes used as genres | No |
| collection | array | Collection(s) the resource belongs to | No |
| author | array | Author name(s) | No |
| country | array | Available countries | No |
| category | array | Category/categories | No |
| publisher | array | Publisher name(s) | No |
| keyword | array | Search keywords | No |
| prices | object | Content prices by currency | No |
| lang | string | Language (ISO 639-1 code) | No |
| table_of_contents | json | Publication's table of contents | No |
| cover | string | URL or path to cover image (jpg/png only) | No |
PDF Example
{
"publication_date": "2020-06-01",
"name": "The Computing Machine",
"description": "The description of the publication...",
"free": 0,
"bisac": [{ "code": "ANT018000" }],
"extension": "pdf",
"file_url": "https://valid/url/for.pdf",
"external_id": "PDF-CM-001",
"collection": ["The classics"],
"author": ["Grace Hopper"],
"country": ["Finland"],
"category": ["Hardware meets software"],
"publisher": ["publica.la"],
"keyword": ["API", "book"],
"prices": {
"USD": 2.0,
"ARS": 0.02,
"EUR": 2.35,
"MXN": 0.1
}
}
EPUB Example
{
"description": "This book is an essential guide for understanding the mechanisms behind our actions.",
"external_id": "isbn112233441",
"lang": "en",
"name": "The Power of Habits",
"author": ["Grace Hopper"],
"publication_date": "2022-09-01",
"bisac": [{ "code": "SEL009000" }],
"extension": "epub",
"file_url": "https://valid/url/for.epub",
"publisher": ["publica.la"],
"keyword": ["API", "book"],
"prices": {
"USD": 2.0,
"ARS": 0.02,
"EUR": 2.35
}
}
Audio Example
{
"description": "A powerful audiobook exploring personal growth and transformation.",
"external_id": "696900",
"lang": "pt",
"name": "Test Audio API",
"publication_date": "2019-09-13",
"extension": "mp3",
"file_url": "https://filesamples.com/samples/audio/mp3/Symphony%20No.6%20(1st%20movement).mp3"
}