---
title: "Share a Saved Search"
method: POST
path: "/saved_searches/{id}/relationship/{access}"
---

# Share a Saved Search

`POST /saved_searches/{id}/relationship/{access}`

## Request

- Base URL: `https://www.virustotal.com/api/v3`
- URL: `https://www.virustotal.com/api/v3/saved_searches/{id}/relationship/{access}`
- Auth: none required
- TypeScript: <https://skmtc.dev/virustotal/apis/virustotal-api-v3/docs/saved_searches/:id/relationship/:access/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required
- `access` string, required

## Headers

- `x-apikey` string, required

## Request body

- object
  - `data` string, json, required: Payload to post.

## Response `200`

200

- object

## Other responses

- `400`: 400

---

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