---
title: "Salva as informações de um atendimento (JSON no corpo da requisição)"
method: POST
path: "/Atendimento/App_SalvarAtendimentoBody"
tags: ["Atendimento"]
---

# Salva as informações de um atendimento (JSON no corpo da requisição)

`POST /Atendimento/App_SalvarAtendimentoBody`

## Request

- Base URL: `https://api.imoview.com.br`
- URL: `https://api.imoview.com.br/Atendimento/App_SalvarAtendimentoBody`
- Auth: one of:
  - API key in header `chave`
  - API key in header `codigoacesso`
- TypeScript: <https://skmtc.dev/imoview/apis/imoview-api/docs/Atendimento/App_SalvarAtendimentoBody/post.ts> (a function with typed inputs; its response is checked against the schema)

Mesma função de App_SalvarAtendimento, porém os dados do atendimento são enviados no <strong>corpo (body)</strong> da requisição com <strong>Content-Type: application/json</strong>, e não na query string. Use este endpoint sempre que o JSON contiver caracteres como <strong>+</strong>, <strong>&</strong> ou <strong>%</strong> (ex.: campo <strong>utm</strong>) ou quando o JSON for grande. Apenas codigoUsuario e codigoAtendimento continuam na query string.

## Query parameters

- `codigoUsuario` integer, required
- `codigoAtendimento` integer, required

## Request body

- SalvarAtendimento
  - `lead` object
    - `nome` string, string
    - `emailtipocodigo` string, string
    - `email` string, string
  - `perfil` object
    - `tiposimoveis` object[]
      - `codigo` integer
    - `cidades` object[]
      - `codigo` integer

## Response `200`

Retornado com sucesso

- object
  - `mensagem` string, string
  - `fasecodigo` integer
  - `fasenome` string, string

## Other responses

- `401`: Header 'chave' ou 'codigoacesso' ausente ou inválido, ou sem permissão para a operação
- `403`: Regra de negócio violada ou limite de paginação excedido
- `404`: Parâmetro obrigatório ausente ou inválido, registro não encontrado ou consulta sem resultado
- `429`: Limite de requisições da chave excedido
- `500`: Falha interna não prevista

## Changes

- **2026-10-09** `d7f65bff1506`: 4 breaking, 5 info
  - for the `query` request parameter `codigoAtendimento`, the format changed from `Int64` to `int64`
  - for the `query` request parameter `codigoUsuario`, the format changed from `Int64` to `int64`
  - the `perfil/cidades/items/codigo` request property format changed from `Int64` to `int64`
  - the `perfil/tiposimoveis/items/codigo` request property format changed from `Int64` to `int64`
  - …5 more
- **2026-09-09** `f77c84e4fca5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/imoview/apis/imoview-api/changes/Atendimento/App_SalvarAtendimentoBody/post.md)

---

[API](https://skmtc.dev/imoview/apis/imoview-api.md) - [All operations](https://skmtc.dev/imoview/apis/imoview-api/llms.txt) - [OpenAPI document](https://skmtc.dev/imoview/apis/imoview-api/revisions/436e609983d0?raw)
