Listar tags
GET
/api/seller/external/v1/tag
curl --request GET \ --get "https://api.spelt.com.br/api/seller/external/v1/tag?name=architecto&per_page=16&page=16" \ --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/tag");
const params = { "name": "architecto", "per_page": "16", "page": "16",};Object.keys(params) .forEach(key => url.searchParams.append(key, params[key]));
const headers = { "Authorization": "Bearer splt_live_SUA_CHAVE", "Content-Type": "application/json", "Accept": "application/json",};
fetch(url, { method: "GET", headers,}).then(response => response.json());$client = new \GuzzleHttp\Client();$url = 'https://api.spelt.com.br/api/seller/external/v1/tag';$response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], 'query' => [ 'name' => 'architecto', 'per_page' => '16', 'page' => '16', ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/tag'params = { 'name': 'architecto', 'per_page': '16', 'page': '16',}headers = { 'Authorization': 'Bearer splt_live_SUA_CHAVE', 'Content-Type': 'application/json', 'Accept': 'application/json'}
response = requests.request('GET', url, headers=headers, params=params)response.json()As tags da conta, em ordem de nome. São as mesmas usadas em clientes, chamados, pessoas e tarefas.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”name
Busca parcial no nome da tag.
string
Busca parcial no nome da tag.
per_page
Itens por página (padrão: 20).
integer
Itens por página (padrão: 20).
page
Página (padrão: 1).
integer
Página (padrão: 1).
Responses
Seção intitulada “Responses”Media typeapplication/json
object
data
object
current_page
integer
data
Array<object>
object
id
string
name
string
slug
string
color
string
description
string | null
per_page
integer
total
integer
Example
{ "data": { "current_page": 1, "data": [ { "id": "01JA0000000000000000000060", "name": "Implantação", "slug": "implantacao", "color": "#2563eb", "description": null } ], "per_page": 20, "total": 1 }}