1. Agenciamento
Homfy Public API
  • Bem vindo
  • Autenticação
    • Emitir token
      POST
    • Renovar token
      POST
  • Imóvel
    • Cadastrar imóvel
      POST
    • Atualizar imóvel
      PUT
    • Cadastrar imóveis em lote
      POST
    • Consultar detalhes do imóvel
      POST
    • Enviar fotos — passo 1: obter URLs
      POST
    • Enviar fotos — passo 2: concluir
      POST
    • Andamento do processamento das fotos
      POST
    • Enviar documento — passo 1: obter URL
      POST
    • Enviar documento — passo 2: concluir
      POST
    • Buscar imóveis
      POST
  • Proprietário
    • Cadastrar proprietário
      POST
    • Atualizar proprietário
      PUT
    • Cadastrar proprietários em lote
      POST
    • Consultar detalhes do proprietário
      POST
    • Buscar proprietários
      POST
    • Vincular proprietário a imóvel
      POST
  • Cliente
    • Cadastrar cliente
      POST
    • Atualizar cliente
      PUT
    • Cadastrar clientes em lote
      POST
    • Consultar detalhes do cliente
      POST
    • Buscar clientes
      POST
    • Atribuir cliente a corretor
      POST
  • Oportunidade
    • Cadastrar oportunidade
    • Consultar detalhes da oportunidade
    • Buscar oportunidades
    • Listar quadros e etapas
  • Agenciamento
    • Cadastrar agenciamento
      POST
    • Consultar detalhes do agenciamento
      POST
    • Buscar agenciamentos
      POST
    • Listar fluxo e etapas
      GET
  • Empreendimento
    • Cadastrar empreendimento
    • Atualizar empreendimento
    • Cadastrar empreendimentos em lote
    • Consultar empreendimento
    • Vincular imóveis ao empreendimento
  • Corretor
    • Consultar corretores
  • Schemas
    • ApiPartnerAuthTokenDTO
    • ApiPartnerAuthTokenResponseDTO
    • ApiPartnerErrorResponseDTO
    • ApiPartnerAuthRefreshTokenDTO
    • ApiPartnerAddressDTO
    • ApiPartnerPropertyDetailDTO
    • ApiPartnerPropertyPriceDTO
    • ApiPartnerPropertyListingDTO
    • ApiPartnerPropertyRegisterDTO
    • ApiPartnerPropertyCreatedDTO
    • ApiPartnerPropertySkippedDTO
    • ApiPartnerPropertyErrorItemDTO
    • ApiPartnerPropertyRegisterResponseDTO
    • ApiPartnerPropertyItemDTO
    • ApiPartnerPropertyBatchRegisterDTO
    • ApiPartnerPropertyUpdateDTO
    • ApiPartnerPropertyUpdateResponseDTO
    • ApiPartnerPropertyFindDTO
    • ApiPartnerListingPriceDTO
    • ApiPartnerListingImageDTO
    • ApiPartnerListingVideoDTO
    • ApiPartnerListingResponseDTO
    • ApiPartnerPropertyDetailResponseDTO
    • ApiPartnerPhotoFileDTO
    • ApiPartnerPhotosInitDTO
    • ApiPartnerPresignedPartDTO
    • ApiPartnerPhotoUploadTargetDTO
    • ApiPartnerPhotosInitResponseDTO
    • ApiPartnerUploadPartDTO
    • ApiPartnerPhotoUploadDTO
    • ApiPartnerPhotosCompleteDTO
    • ApiPartnerPhotoCompleteItemDTO
    • ApiPartnerPhotosCompleteResponseDTO
    • ApiPartnerPhotosStatusDTO
    • ApiPartnerPhotoVariantDTO
    • ApiPartnerPhotoStatusItemDTO
    • ApiPartnerPhotosStatusResponseDTO
    • ApiPartnerDocumentInitDTO
    • ApiPartnerDocumentInitResponseDTO
    • ApiPartnerDocumentCompleteDTO
    • ApiPartnerDocumentCompleteResponseDTO
    • ApiPartnerPropertyFiltroDTO
    • ApiPartnerPropertySearchFiltersDTO
    • ApiPartnerSearchSortDTO
    • ApiPartnerPropertySearchDTO
    • ApiPartnerPropertySummaryDTO
    • ApiPartnerPropertySearchResponseDTO
    • ApiPartnerOwnerSpouseDTO
    • ApiPartnerOwnerRegisterDTO
    • ApiPartnerOwnerCreatedDTO
    • ApiPartnerOwnerSkippedDTO
    • ApiPartnerOwnerErrorItemDTO
    • ApiPartnerOwnerRegisterResponseDTO
    • ApiPartnerOwnerItemDTO
    • ApiPartnerOwnerBatchRegisterDTO
    • ApiPartnerOwnerUpdateDTO
    • ApiPartnerOwnerUpdateResponseDTO
    • ApiPartnerOwnerFindDTO
    • ApiPartnerOwnerSpouseResponseDTO
    • ApiPartnerOwnerDetailResponseDTO
    • ApiPartnerOwnerSearchSortDTO
    • ApiPartnerOwnerSearchFiltersDTO
    • ApiPartnerOwnerSearchDTO
    • ApiPartnerOwnerSummaryDTO
    • ApiPartnerOwnerSearchResponseDTO
    • ApiPartnerOwnerLinkPropertyDTO
    • ApiPartnerOwnerLinkResponseDTO
    • ApiPartnerLeadRegisterDTO
    • ApiPartnerLeadCreatedDTO
    • ApiPartnerLeadSkippedDTO
    • ApiPartnerLeadErrorItemDTO
    • ApiPartnerLeadRegisterResponseDTO
    • ApiPartnerLeadItemDTO
    • ApiPartnerLeadBatchRegisterDTO
    • ApiPartnerLeadUpdateDTO
    • ApiPartnerLeadUpdateResponseDTO
    • ApiPartnerLeadFindDTO
    • ApiPartnerLeadDetailResponseDTO
    • ApiPartnerLeadSearchSortDTO
    • ApiPartnerLeadSearchFiltersDTO
    • ApiPartnerLeadSearchDTO
    • ApiPartnerLeadSummaryDTO
    • ApiPartnerLeadSearchResponseDTO
    • ApiPartnerLeadAssignAgentDTO
    • ApiPartnerLeadAssignAgentResponseDTO
    • ApiPartnerAgentSearchFiltersDTO
    • ApiPartnerOpportunityRegisterDTO
    • ApiPartnerAgentSearchDTO
    • ApiPartnerOpportunityRegisterResponseDTO
    • ApiPartnerAgentSummaryDTO
    • ApiPartnerOpportunityFindDTO
    • ApiPartnerAgentSearchResponseDTO
    • ApiPartnerOpportunityLeadRefDTO
    • ApiPartnerRealtyClusterRegisterDTO
    • ApiPartnerOpportunityAgentRefDTO
    • ApiPartnerRealtyClusterCreatedDTO
    • ApiPartnerOpportunityStepRefDTO
    • ApiPartnerRealtyClusterSkippedDTO
    • ApiPartnerOpportunityDTO
    • ApiPartnerRealtyClusterErrorItemDTO
    • ApiPartnerOpportunitySearchSortDTO
    • ApiPartnerRealtyClusterRegisterResponseDTO
    • ApiPartnerOpportunitySearchFiltersDTO
    • ApiPartnerRealtyClusterItemDTO
    • ApiPartnerOpportunitySearchDTO
    • ApiPartnerRealtyClusterBatchRegisterDTO
    • ApiPartnerOpportunitySearchResponseDTO
    • ApiPartnerRealtyClusterUpdateDTO
    • ApiPartnerOpportunityStepDTO
    • ApiPartnerRealtyClusterAddressResponseDTO
    • ApiPartnerOpportunityBoardDTO
    • ApiPartnerRealtyClusterDetailResponseDTO
    • ApiPartnerOpportunityWorkflowResponseDTO
    • ApiPartnerRealtyClusterFindDTO
    • ApiPartnerPropertyAgencyAddressDTO
    • ApiPartnerRealtyClusterLinkPropertiesDTO
    • ApiPartnerPropertyAgencyRegisterDTO
    • ApiPartnerRealtyClusterLinkedDTO
    • ApiPartnerPropertyAgencyRegisterResponseDTO
    • ApiPartnerRealtyClusterLinkErrorDTO
    • ApiPartnerPropertyAgencyFindDTO
    • ApiPartnerRealtyClusterLinkResponseDTO
    • ApiPartnerPropertyAgencyStepRefDTO
    • ApiPartnerPropertyAgencyAgentRefDTO
    • ApiPartnerPropertyAgencyOwnerRefDTO
    • ApiPartnerPropertyAgencyPropertyRefDTO
    • ApiPartnerPropertyAgencyDTO
    • ApiPartnerPropertyAgencySearchSortDTO
    • ApiPartnerPropertyAgencySearchFiltersDTO
    • ApiPartnerPropertyAgencySearchDTO
    • ApiPartnerPropertyAgencySearchResponseDTO
    • ApiPartnerPropertyAgencyWorkflowStepDTO
    • ApiPartnerPropertyAgencyWorkflowDTO
    • ApiPartnerPropertyAgencyWorkflowResponseDTO
  1. Agenciamento

Cadastrar agenciamento

POST
/partner/v1/property-agency
Cadastra UM agenciamento (a captação de um imóvel de um proprietário). Reexecutável: reenviar o mesmo partner_code devolve result: "skipped" com o agenciamento que já existe, sem atualizar nada; duas chamadas simultâneas com o mesmo código resultam em uma created e uma skipped.
Obrigatórios: partner_code, o proprietário (owner_partner_code ou owner_id — ele precisa existir antes; cadastre-o em POST /partner/v1/owner), realstate_agent_id (corretor ativo da imobiliária), property_type, property_contract, total_area, expected_value, visit_availability, property_description e address. O imóvel (property_partner_code ou property_id) é opcional e, se informado, já deve existir; ele é só uma referência gravada no agenciamento e volta no campo property.
O agenciamento nasce sempre na etapa "Solicitado" do fluxo (veja GET /partner/v1/property-agency/workflow); a condução nas etapas seguintes é feita no painel. O cadastro também cria, como no painel, um imóvel em situação "Em agenciamento" vinculado ao proprietário e ao corretor informado.
Se o proprietário já está vinculado a outro corretor da imobiliária, o cadastro é recusado com 409 — o parceiro não toma o proprietário de outro corretor.
Não há atualização, mudança de etapa nem exclusão por esta API. O token de corretor se comporta como nas demais rotas: o recorte é a imobiliária, e o corretor do token não restringe a lista.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/jsonRequired

Example
{
    "partner_code": "AGE-3310",
    "owner_partner_code": "PRO-1020",
    "owner_id": "507f1f77bcf86cd799439011",
    "property_type": "Andar Corporativo",
    "property_contract": "Compra",
    "property_partner_code": "IMO-5521",
    "realstate_agent_id": 42,
    "total_area": 120.5,
    "expected_value": 650000,
    "visit_availability": "Seg a sex, das 9h às 17h",
    "property_description": "Apartamento de 3 quartos, sol da manhã.",
    "address": {
        "zipcode": "88010-000",
        "street": "das Flores",
        "street_type": "Rua",
        "number": "100",
        "neighborhood": "Centro",
        "city": "Florianópolis",
        "state": "SC",
        "complement": "Apto 12"
    },
    "property_id": 1234,
    "owner_observations": "Prefere contato à tarde."
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/partner/v1/property-agency' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "partner_code": "AGE-3310",
    "owner_partner_code": "PRO-1020",
    "owner_id": "507f1f77bcf86cd799439011",
    "property_type": "Andar Corporativo",
    "property_contract": "Compra",
    "property_partner_code": "IMO-5521",
    "realstate_agent_id": 42,
    "total_area": 120.5,
    "expected_value": 650000,
    "visit_availability": "Seg a sex, das 9h às 17h",
    "property_description": "Apartamento de 3 quartos, sol da manhã.",
    "address": {
        "zipcode": "88010-000",
        "street": "das Flores",
        "street_type": "Rua",
        "number": "100",
        "neighborhood": "Centro",
        "city": "Florianópolis",
        "state": "SC",
        "complement": "Apto 12"
    },
    "property_id": 1234,
    "owner_observations": "Prefere contato à tarde."
}'

Responses

🟢201
application/json
Agenciamento criado (created) ou já existente (skipped).
Bodyapplication/json

Example
{
    "result": "created",
    "partner_code": "AGE-3310",
    "property_agency_id": 55
}
🟠400
🟠401
🟠403
🟠404
🟠409
🟠429
🔴500
Modified at 2026-10-09 18:26:10
Previous
Listar quadros e etapas
Next
Consultar detalhes do agenciamento
Built with