Pular para o conteúdo

Listar páginas

GET
/api/seller/external/v1/page
curl --request GET \
--get "https://api.spelt.com.br/api/seller/external/v1/page?per_page=16&slug=architecto&role=architecto" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Sem o conteúdo — ele vem no GET /page/{id}.

per_page

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

integer

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

slug

Filtrar por slug exato.

string

Filtrar por slug exato.

role

Filtrar por papel: privacy_policy | terms_of_service | refund_policy | data_processing_agreement.

string

Filtrar por papel: privacy_policy | terms_of_service | refund_policy | data_processing_agreement.

Media typeapplication/json
object
data
object
current_page
integer
data
Array<object>
object
id
string
title
string
slug
string
status
string
role
string
public_url
string
total
integer
Example
{
"data": {
"current_page": 1,
"data": [
{
"id": "01J...",
"title": "Termos de Serviço",
"slug": "termos-de-servico",
"status": "published",
"role": "terms_of_service",
"public_url": "https://..."
}
],
"total": 1
}
}