Publicar
POST
/api/seller/external/v1/hub/post/{id}/publish
curl --request POST \ "https://api.spelt.com.br/api/seller/external/v1/hub/post/iMRSFHQ9TYBYCWTPTRGW5G9ZPYF/publish" \ --header "Authorization: Bearer splt_live_SUA_CHAVE" \ --header "Content-Type: application/json" \ --header "Accept: application/json"const url = new URL( "https://api.spelt.com.br/api/seller/external/v1/hub/post/iMRSFHQ9TYBYCWTPTRGW5G9ZPYF/publish");
const headers = { "Authorization": "Bearer splt_live_SUA_CHAVE", "Content-Type": "application/json", "Accept": "application/json",};
fetch(url, { method: "POST", headers,}).then(response => response.json());$client = new \GuzzleHttp\Client();$url = 'https://api.spelt.com.br/api/seller/external/v1/hub/post/iMRSFHQ9TYBYCWTPTRGW5G9ZPYF/publish';$response = $client->post( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/hub/post/iMRSFHQ9TYBYCWTPTRGW5G9ZPYF/publish'headers = { 'Authorization': 'Bearer splt_live_SUA_CHAVE', 'Content-Type': 'application/json', 'Accept': 'application/json'}
response = requests.request('POST', url, headers=headers)response.json()Exige título e conteúdo. Conta no teto diário só a primeira publicação: republicar o que já foi publicado não conta.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
The ID of the post.
Responses
Seção intitulada “Responses”Media typeapplication/json
object
data
object
id
string
status
string
published_at
string
profile_enabled
boolean
Example
{ "data": { "id": "01J...", "status": "published", "published_at": "2026-11-15T13:00:00.000000Z", "profile_enabled": true }}Media typeapplication/json
object
error
string
Example
{ "error": "Recurso não encontrado"}