---
updatedAt: 2026-06-02T20:11:26.000Z
agentTools:
  projectIndex: https://docs.repliers.io/llms.txt
---

# Delete a saved search

Deletes a saved search. The client will no longer receive notifications for this search.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "repliers",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.repliers.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "REPLIERS-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/places": {
      "get": {
        "summary": "Places",
        "description": "Use this endpoint to retrieve relevant schools, parks, transit stops and safety places for a given latitude and longitude. This endpoint is useful to enrich property and neighborhood views with local places information.",
        "operationId": "places",
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "description": "The latitude of the point that you'd like to retrieve places data for.",
            "required": true,
            "schema": {
              "type": "number",
              "format": "float",
              "minimum": -90,
              "maximum": 90
            }
          },
          {
            "name": "long",
            "in": "query",
            "description": "The longitude of the point that you'd like to retrieve places data for.",
            "required": true,
            "schema": {
              "type": "number",
              "format": "float",
              "minimum": -180,
              "maximum": 180
            }
          },
          {
            "name": "inputInsidePolygon",
            "in": "query",
            "description": "Filters places by whether the specified lat/long falls inside their boundary polygon. Every returned place that has a boundary polygon always includes an `inputInsidePolygon` field with this result, regardless of this parameter. When set to `true`, only places whose polygon contains the point are returned. When set to `false`, only places whose polygon does not contain the point are returned. Places without a boundary polygon are always returned and do not include the field.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "schools": {
                      "type": "array",
                      "items": {
                        "allOf": [
                          {
                            "$ref": "#/paths/~1places/get/responses/200/content/application~1json/schema/properties/parks/items/allOf/0"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "grade_level": {
                                "type": "string",
                                "nullable": true
                              },
                              "grades_offered": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "additional_details": {
                                "type": "array",
                                "items": {}
                              },
                              "language": {
                                "type": "string",
                                "nullable": true
                              },
                              "affiliation": {
                                "type": "string",
                                "nullable": true
                              },
                              "orientation": {
                                "type": "string",
                                "nullable": true
                              },
                              "school_board": {
                                "type": "string",
                                "nullable": true
                              },
                              "type": {
                                "type": "string",
                                "nullable": true
                              },
                              "score": {
                                "nullable": true,
                                "description": "A school quality/rating score, if available. Exact scale unconfirmed."
                              },
                              "has_catchment": {
                                "type": "boolean",
                                "nullable": true
                              },
                              "special_programs": {
                                "type": "array",
                                "items": {}
                              },
                              "neighbourhoods_served": {
                                "type": "array",
                                "description": "Neighbourhoods within this school's catchment.",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "slug": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "parks": {
                      "type": "array",
                      "items": {
                        "allOf": [
                          {
                            "type": "object",
                            "description": "Fields common to every place category (schools, parks, transit_stops, safety_places).",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "12345",
                                "description": "The unique identifier of this place."
                              },
                              "name": {
                                "type": "string",
                                "example": "Lincoln Elementary School",
                                "description": "The name of this place."
                              },
                              "slug": {
                                "type": "string",
                                "example": "lincoln-elementary-school",
                                "description": "A URL-friendly identifier for this place."
                              },
                              "full_slug": {
                                "type": "string",
                                "example": "tx/houston/lincoln-elementary-school",
                                "description": "A fully-qualified URL-friendly identifier for this place."
                              },
                              "description": {
                                "type": "string",
                                "nullable": true,
                                "description": "A description of this place, if available."
                              },
                              "url": {
                                "type": "string",
                                "nullable": true,
                                "example": "https://example.com/resource/123",
                                "description": "A URL with more information about this place, if available."
                              },
                              "features": {
                                "type": "object",
                                "description": "A dynamic map of category-specific attributes (e.g. contact info, classification codes). Keys and value types vary by place and category, so they aren't individually enumerated here.",
                                "additionalProperties": true
                              },
                              "country": {
                                "type": "string",
                                "nullable": true,
                                "example": "United States"
                              },
                              "state_province": {
                                "type": "string",
                                "nullable": true,
                                "example": "TX"
                              },
                              "city": {
                                "type": "object",
                                "nullable": true,
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "example": "1"
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "Houston"
                                  },
                                  "slug": {
                                    "type": "string",
                                    "example": "houston"
                                  }
                                }
                              },
                              "county": {
                                "type": "object",
                                "nullable": true,
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "example": "1"
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "Harris"
                                  },
                                  "slug": {
                                    "type": "string",
                                    "example": "harris"
                                  }
                                }
                              },
                              "neighbourhood": {
                                "type": "object",
                                "nullable": true,
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "example": "1"
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "Lakewood Forest"
                                  },
                                  "slug": {
                                    "type": "string",
                                    "example": "lakewood-forest"
                                  }
                                }
                              },
                              "place_type": {
                                "type": "string",
                                "example": "school",
                                "description": "The category of place (e.g. school, park, transit_stop, safety_place)."
                              },
                              "distance": {
                                "type": "number",
                                "example": 0.8,
                                "description": "The distance from the queried lat/long to this place."
                              },
                              "point": {
                                "type": "object",
                                "description": "The lat/long coordinates of this place.",
                                "properties": {
                                  "lat": {
                                    "type": "number",
                                    "example": 29.98234
                                  },
                                  "lng": {
                                    "type": "number",
                                    "example": -95.603577
                                  }
                                }
                              },
                              "geometry": {
                                "type": "object",
                                "nullable": true,
                                "description": "A GeoJSON boundary polygon for this place, if one exists.",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "example": "Polygon"
                                  },
                                  "coordinates": {
                                    "type": "array",
                                    "items": {
                                      "type": "array",
                                      "items": {
                                        "type": "array",
                                        "items": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "inputInsidePolygon": {
                                "type": "boolean",
                                "example": true,
                                "description": "Present only when the `inputInsidePolygon` request parameter is true and this place has a boundary polygon. Indicates whether the queried lat/long falls inside it."
                              }
                            }
                          },
                          {
                            "type": "object",
                            "properties": {
                              "major_park": {
                                "type": "boolean",
                                "description": "Whether this is classified as a major park."
                              },
                              "facilities": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "phone_number": {
                                "type": "string",
                                "nullable": true
                              }
                            }
                          }
                        ]
                      }
                    },
                    "transit_stops": {
                      "type": "array",
                      "items": {
                        "allOf": [
                          {
                            "$ref": "#/paths/~1places/get/responses/200/content/application~1json/schema/properties/parks/items/allOf/0"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "description": "The type of transit stop (e.g. bus, subway)."
                              },
                              "walking_time": {
                                "nullable": true,
                                "description": "Estimated walking time from the queried point, if available. Exact unit/shape unconfirmed."
                              }
                            }
                          }
                        ]
                      }
                    },
                    "safety_places": {
                      "type": "array",
                      "items": {
                        "allOf": [
                          {
                            "$ref": "#/paths/~1places/get/responses/200/content/application~1json/schema/properties/parks/items/allOf/0"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "description": "The type of safety place (e.g. police, fire station, hospital)."
                              }
                            }
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1nlp/get/responses/401/content/application~1json/schema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1nlp/get/responses/401"
          },
          "403": {
            "description": "Places are not enabled for this API key, or the supplied point is outside the geographic area covered by your account's boards."
          }
        },
        "deprecated": false
      }
    },
    "/agents": {
      "post": {
        "summary": "Create an agent",
        "description": "Use this endpoint to create an agent. Each client that you create needs to be associated with an agent, therefore it's necessary to create at least one agent before you start creating clients.<br/><br/><strong>Important</strong> - email and phone must be unique across all agents and clients in your account. A duplicate is rejected with a 409 error. Email matching is case-insensitive.",
        "externalDocs": {
          "description": "Step 1: Create an Agent",
          "url": "https://help.repliers.com/en/article/implementation-guide-for-agents-and-clients-of4k3i/#2-step-1-create-an-agent"
        },
        "operationId": "create-an-agent",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fname",
                  "lname",
                  "phone",
                  "email",
                  "brokerage",
                  "designation"
                ],
                "properties": {
                  "fname": {
                    "type": "string",
                    "description": "The first name of the agent."
                  },
                  "lname": {
                    "type": "string",
                    "description": "The last name of the agent."
                  },
                  "phone": {
                    "type": "string",
                    "description": "The mobile phone number of the agent. Must be 11 digits in length.<br/><br/>Regex pattern: <code>^(1)([0-9]{10})$</code>"
                  },
                  "email": {
                    "type": "string",
                    "description": "The email address of the agent.<br/><br/>Regex pattern: <code>^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))</code>"
                  },
                  "brokerage": {
                    "type": "string",
                    "description": "The name of the Brokerage/Office that this agent is registered with."
                  },
                  "designation": {
                    "type": "string",
                    "description": "This agent's designation. For example, \"Sales Representative\""
                  },
                  "avatar": {
                    "type": "string",
                    "description": "A URL/Path to an avatar/picture of this agent."
                  },
                  "status": {
                    "type": "boolean",
                    "description": "If false, disables all operations for the agent.",
                    "default": true
                  },
                  "location": {
                    "properties": {
                      "latitude": {
                        "type": "number",
                        "format": "float",
                        "minimum": -90,
                        "maximum": 90,
                        "description": "A latitude value representing the location of the agent. Required if location is provided."
                      },
                      "longitude": {
                        "type": "number",
                        "format": "float",
                        "minimum": -180,
                        "maximum": 180,
                        "description": "A longitude value representing the location of the agent. Required if location is provided."
                      }
                    },
                    "required": [
                      "latitude",
                      "longitude"
                    ],
                    "type": "object"
                  },
                  "externalId": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "The externalId is intended for storing agent identifiers from external systems (such as CRMs) for reference purposes. Maximum 255 characters."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1places/get/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1nlp/get/responses/401"
          },
          "409": {
            "description": "The email or phone number is already in use by another agent or client in your account."
          }
        },
        "deprecated": false
      }
    },
    "/searches/{searchId}": {
      "delete": {
        "summary": "Delete a saved search",
        "description": "Deletes a saved search. The client will no longer receive notifications for this search.",
        "operationId": "delete-a-saved-search",
        "parameters": [
          {
            "name": "searchId",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/paths/~1agents/post/responses/200"
          },
          "400": {
            "$ref": "#/paths/~1places/get/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1nlp/get/responses/401"
          },
          "404": {
            "description": "No saved search with the supplied searchId exists in your account."
          }
        },
        "deprecated": false
      }
    },
    "/nlp": {
      "get": {
        "summary": "Filter prompts",
        "description": "This endpoint allows you to list and filter prompts across all sessions.\n",
        "tags": [
          "NLP"
        ],
        "parameters": [
          {
            "name": "nlpId",
            "in": "query",
            "description": "Unique identifier for the NLP session.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "clientId",
            "in": "query",
            "description": "Filter sessions based on the `clientId` to see all NLP sessions associated with a specific client.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "pageNum",
            "in": "query",
            "description": "The page number to return. For example, with 100 results per page, specifying pageNum=2 returns results 101–200.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "resultsPerPage",
            "in": "query",
            "description": "The number of prompts to return per page.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with NLP session data.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "description": "Current page number"
                        },
                        "numPages": {
                          "type": "integer",
                          "description": "Total number of pages"
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "Number of results per page"
                        },
                        "count": {
                          "type": "integer",
                          "description": "Total number of results"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "prompts": {
                          "type": "array",
                          "description": "List of NLP prompts and their responses",
                          "items": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1nlp/post/responses/200/content/application~1json/schema/allOf/0"
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "request": {
                                    "$ref": "#/paths/~1nlp/post/responses/200/content/application~1json/schema/allOf/1/properties/request"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "The API key was not recognized by the API server, or the key is not active.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "param": {
                          "type": "string"
                        },
                        "msg": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error - An error occurred while processing the request."
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```