me.view_prefs_get
Ver minhas preferências de tela. Preferências do próprio usuário para uma tela, na conta atual. contacts: columns (ids visíveis na ordem; null = padrão) e perPage (20, 50 ou 100). Sem registro, devolve o padrão.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/me.view_prefs_get(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave:
contacts:read - Grava dados: não
- Pela chave de API: sim
- Ferramenta MCP:
me_view_prefs_get - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdme.view_prefs_get)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
view | "contacts" | sim |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"view": {
"type": "string",
"enum": [
"contacts"
]
}
},
"required": [
"view"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/me.view_prefs_get \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"view":"contacts"}'CLI:
node cli/atomiks.mjs me.view_prefs_get --json '{"view":"contacts"}'MCP: ferramenta me_view_prefs_get com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"view": {
"type": "string",
"const": "contacts"
},
"prefs": {
"type": "object",
"properties": {
"columns": {
"anyOf": [
{
"maxItems": 50,
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"perPage": {
"anyOf": [
{
"type": "number",
"const": 20
},
{
"type": "number",
"const": 50
},
{
"type": "number",
"const": 100
}
]
}
},
"required": [
"columns"
],
"additionalProperties": false
}
},
"required": [
"view",
"prefs"
],
"additionalProperties": false
}
]
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).