Pular para o conteúdo

Listar publicações

GET
/api/seller/external/v1/hub/post
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/hub/post?per_page=20&status=published&external_ref=blog%3Ao-que-e-mrr" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Sem o conteúdo: ele vem no GET /hub/post/{id}. Da mais recente para a mais antiga.

per_page

Itens por página (máx: 100, padrão: 20).

integer

Itens por página (máx: 100, padrão: 20).

status

Filtrar por status: draft, published ou removed.

string

Filtrar por status: draft, published ou removed.

external_ref

Filtrar pelo id da publicação no seu sistema.

string

Filtrar pelo id da publicação no seu sistema.

Media typeapplication/json
object
data
object
current_page
integer
data
Array<object>
object
id
string
title
string
slug
string
type
string
type_label
string
excerpt
string
cover_image_url
string
canonical_url
string
external_ref
string
status
string
status_label
string
published_at
string
public_url
string
total
integer
Example
{
"data": {
"current_page": 1,
"data": [
{
"id": "01J...",
"title": "O que é MRR",
"slug": "o-que-e-mrr",
"type": "article",
"type_label": "Artigo",
"excerpt": "...",
"cover_image_url": "https://cdn.../hub/....png",
"canonical_url": "https://blog.exemplo.com.br/o-que-e-mrr",
"external_ref": "blog:o-que-e-mrr",
"status": "published",
"status_label": "Publicada",
"published_at": "2026-11-15T13:00:00.000000Z",
"public_url": "https://www.spelt.com.br/@exemplo/post/o-que-e-mrr"
}
],
"total": 1
}
}