Listar pessoas
GET
/api/seller/external/v1/person
curl --request GET \ --get "https://api.spelt.com.br/api/seller/external/v1/person?search=architecto&kind=architecto&status=architecto&tag_id=architecto&role=architecto&per_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/person");
const params = { "search": "architecto", "kind": "architecto", "status": "architecto", "tag_id": "architecto", "role": "architecto", "per_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/person';$response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], 'query' => [ 'search' => 'architecto', 'kind' => 'architecto', 'status' => 'architecto', 'tag_id' => 'architecto', 'role' => 'architecto', 'per_page' => '16', ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/person'params = { 'search': 'architecto', 'kind': 'architecto', 'status': 'architecto', 'tag_id': 'architecto', 'role': 'architecto', 'per_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()Lista as pessoas do Seller autenticado, paginadas.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”search
Busca parcial em nome, nome fantasia e e-mail; com dígitos, também no documento (normalizado). Exemplo: 12.345.678
string
Busca parcial em nome, nome fantasia e e-mail; com dígitos, também no documento (normalizado). Exemplo: 12.345.678
kind
PersonKind: individual | company.
string
PersonKind: individual | company.
status
PersonStatus: active | inactive.
string
PersonStatus: active | inactive.
tag_id
ULID de uma tag do Seller.
string
ULID de uma tag do Seller.
role
PersonRole: lead | supplier | employee | shareholder | partner.
string
PersonRole: lead | supplier | employee | shareholder | partner.
per_page
Itens por página (padrão: 10). Exemplo: 25
integer
Itens por página (padrão: 10). Exemplo: 25
Responses
Seção intitulada “Responses”Media typeapplication/json
object
data
object
current_page
integer
data
Array<object>
object
id
string
tenant_id
string
kind
string
name
string
trade_name
string
document_type
string
document_number
string
document_number_additional1
string | null
email
string
phone
string
website
string | null
notes
string | null
status
string
metadata
string | null
created_at
string
updated_at
string
deleted_at
string | null
tags
Array<object>
object
id
string
name
string
color
string
first_page_url
string
from
integer
last_page
integer
last_page_url
string
links
array
next_page_url
string | null
path
string
per_page
integer
prev_page_url
string | null
to
integer
total
integer
Example
{ "data": { "current_page": 1, "data": [ { "id": "01JA…", "tenant_id": "01HZ…", "kind": "company", "name": "Imobiliária Centro Ltda", "trade_name": "Imobiliária Centro", "document_type": "cnpj", "document_number": "12345678000190", "document_number_additional1": null, "phone": "+5511999990000", "website": null, "notes": null, "status": "active", "metadata": null, "created_at": "2026-10-13T12:00:00.000000Z", "updated_at": "2026-10-13T12:00:00.000000Z", "deleted_at": null, "tags": [ { "id": "01JA…", "name": "Fornecedor", "color": "#2563eb" } ] } ], "first_page_url": "…?page=1", "from": 1, "last_page": 1, "last_page_url": "…?page=1", "links": [], "next_page_url": null, "path": "…/api/seller/core/person", "per_page": 10, "prev_page_url": null, "to": 1, "total": 1 }}