account.profile_get
Ver meu perfil completo. Perfil de Configurações > Meu usuário > Perfil: nome, sobrenome, e-mail (login, só leitura), telefone (com DDI), foto (avatarUrl) e endereço (CEP, país, estado, cidade, rua, número, bairro, complemento). Campo vazio vem como texto vazio.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/account.profile_get(corpo JSON) - Quem pode chamar: qualquer usuário autenticado
- Escopo da chave: nenhum (qualquer chave serve)
- Grava dados: não
- Pela chave de API: sim
- Ferramenta MCP:
account_profile_get - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdaccount.profile_get)
Entrada
Sem campos: envie {}.
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {}
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/account.profile_get \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'CLI:
node cli/atomiks.mjs account.profile_get --json '{}'MCP: ferramenta account_profile_get com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"avatarUrl": {
"type": [
"string",
"null"
]
},
"zipCode": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"city": {
"type": "string"
},
"street": {
"type": "string"
},
"number": {
"type": "string"
},
"neighborhood": {
"type": "string"
},
"complement": {
"type": "string"
}
},
"required": [
"firstName",
"lastName",
"email",
"phone",
"avatarUrl",
"zipCode",
"country",
"state",
"city",
"street",
"number",
"neighborhood",
"complement"
],
"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).