# Deactivate a rented Idealista listing and archive its contacts

> Flat rented or sold? The agent tells people still waiting, takes the Idealista ad down and archives its conversations, keeping open visits.

Source: https://cotlet.dev/integrations/idealista-api-mcp-server/deactivate-rented-listing

The contract is signed, but the ad is still on Idealista and the messages keep coming. Taking it down is one click; telling the people who already wrote and clearing their conversations is the part that gets skipped.

Cotlet does it in your own Idealista account with list\_listings, list\_contacts, reply\_to\_contact, deactivate\_listing and archive\_conversation, called by your AI agent, an n8n workflow or a script.

[Request access](https://cotlet.dev/app/signup?app=idealista) [All Idealista tools](https://cotlet.dev/integrations/idealista-api-mcp-server)

Hosted · nothing to install or maintain

Official options

## Can Idealista do this on its own?

Idealista lets you deactivate an ad only in your account or by phone, with no API (checked 12 Oct 2026). Ads also lapse on their own when not renewed, after 180 days for sale and 60 days for rent, but that leaves a rented flat listed for weeks and does nothing about the people who already wrote.

By hand

## How you do it in Idealista today

1. Click Iniciar sesión, open Tus anuncios and choose Desactivar tu anuncio; with several ads, select the property and open Gestionar tu anuncio first.
2. Idealista also lets you take the ad down by phone, calling from one of the numbers you put in the listing.
3. In the idealista/tools Inbox, search for the property to find every conversation about it and answer the ones still waiting.
4. Archive each finished conversation so the Activas list only holds live leads. With several rentals closing in a month, the ad stays up for days and the same "is it available?" keeps arriving.

With an agent

## How to deactivate a rented Idealista listing and archive its contacts

Prompt

```
The Lisbon room is rented: tell everyone still waiting about it, take the ad off Idealista and archive its conversations.
```

1. 01  
### Pin down the right ad  
list\_listings finds the active ad by address or reference. When the same property is listed twice, for sale and for rent, the agent asks which one closed rather than taking both down.
2. 02  
### Tell the people still waiting  
list\_contacts for that listing shows every conversation. Contacts with an unanswered question get one short note that the property is no longer available, sent with reply\_to\_contact after your OK; people who never wrote back after your last reply get nothing.
3. 03  
### Take the ad down  
deactivate\_listing removes it from search results right away. This step does not ask first: it messages nobody and the ad can be reactivated later.
4. 04  
### Archive, but keep open threads  
archive\_conversation clears the finished conversations. Contacts whose thread mentions another of your properties, or a visit still to come, stay in the active list and are named in the report.

### What you get back

Example data

```
Arroios room (108274590): deactivated at 10:12, no longer in search results.
7 conversations about it.
Told 3 people still waiting that the room is rented, after your OK.
Archived 6 conversations.
Kept active: Inês M., she also asked about the Graça room.
```

### Other ways to ask

- Every Friday, deactivate the Idealista listings I marked as signed in my sheet and archive their conversations.
- The Calle Fuencarral flat is sold: deactivate it but leave the conversations as they are.
- Reactivate the Ruzafa ad; the buyer pulled out.

Before you automate it

## What Idealista allows, and what to know first

- Idealista recommends taking an ad down (dar de baja) once the property is sold or rented, and a deactivated or expired ad can be reactivated later from the website or the idealista app.
- Idealista sale ads expire every 180 days and rental ads every 60 days unless renewed, so a rental left up after signing can keep drawing contacts for up to two months.
- An archived Idealista Inbox request can be brought back from the option at the top right of the conversation.

reply\_to\_contact asks for your OK by default. To run it on a schedule without you, switch confirmation off for that tool in your dashboard.

Sources: [Idealista help: Modificar tu anuncio](https://www.idealista.com/ayuda/categorias/modificar-anuncio/) · [Idealista help: Cómo dar de baja tu anuncio](https://www.idealista.com/ayuda/articulos/como-dar-de-baja-tu-anuncio/) · [Idealista help: Cómo y cuándo renovar tu anuncio](https://www.idealista.com/ayuda/articulos/como-y-cuando-renovar-tu-anuncio/) · [idealista/tools help: Inbox](https://www.idealista.com/tools/centrodeayuda/articulos/inbox/)

REST

## Call deactivate\_listing from a script

curl

```
curl https://cotlet.dev/api/v1/idealista/deactivate_listing \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listing_id":"108274590"}'
```

Example response

```
{
"listing_id": "108274561",
"status": "inactive"
}
```

MCP: add https://cotlet.dev/mcp/v1 with the same key; the tool is idealista\_deactivate\_listing. Example data.

[Schedule it in n8n, Make, Zapier or cron](https://cotlet.dev/integrations/idealista-api-mcp-server#automations)

Tools

## Idealista tools this automation uses

__Cotlet Idealista tools used to deactivate a rented Idealista listing and archive its contacts__
| Tool | Parameters |
| --------------------- | --------------------------------- |
| list\_listings | status, operation, limit, cursor |
| list\_contacts | listing\_id, state, since, cursor |
| reply\_to\_contact | contact\_id, body |
| deactivate\_listing | listing\_id |
| archive\_conversation | contact\_id |

[All 14 Idealista tools with descriptions](https://cotlet.dev/integrations/idealista-api-mcp-server#tools)

## More Idealista automations

- [Answer new Idealista Inbox contacts with an AI agent](https://cotlet.dev/integrations/idealista-api-mcp-server/reply-to-contacts)
- [Find Idealista listings with visits but no contacts](https://cotlet.dev/integrations/idealista-api-mcp-server/listings-with-visits-but-no-contacts)
- [Lower an Idealista listing price with an AI agent](https://cotlet.dev/integrations/idealista-api-mcp-server/lower-listing-price)
- [Idealista API and MCP server: every tool](https://cotlet.dev/integrations/idealista-api-mcp-server)
- [All use cases](https://cotlet.dev/use-cases)

## Give your agent access to Idealista.

Free 7-day trial with 5,000 credits, no card needed. Cotlet is independent and not affiliated with Idealista.

[Request access](https://cotlet.dev/app/signup?app=idealista)
