---
title: "Set a found partner's status"
method: POST
path: "/sites/{site}/partner-discovery/{partner_id}/status"
tags: ["Affiliates"]
---

# Set a found partner's status

`POST /sites/{site}/partner-discovery/{partner_id}/status`

## Request

- Base URL: `https://api.onelence.com/v1`
- URL: `https://api.onelence.com/v1/sites/{site}/partner-discovery/{partner_id}/status`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://api.onelence.com/oauth/authorize`, token URL `https://api.onelence.com/oauth/token`, scopes: `workspace:write`)
  - HTTP bearer

Saves a partner found for a site, moves it through recruiting (contacted, replied, declined), dismisses it, or clears its status, as on the Discover page. Pass the partner's id and its object type (partner_match or research_find) from the find-partners read. Dismissed and declined partners leave that list; cleared puts a partner back as new. OneLence contacts no one. Owners and admins only.

## Path parameters

- `site` string, required
- `partner_id` string, uuid, required

## Query parameters

- `dry_run` boolean

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `type` 'partner_match' | 'research_find', required: The object type the partner was returned as.
  - `status` 'saved' | 'contacted' | 'replied' | 'declined' | 'dismissed' | 'cleared', required
  - `no_answer` boolean: With declined: the partner never answered the follow-ups.

## Response `200`

Success.

- object
  - `object` 'partner_status_receipt', required
  - `partner_id` string, required
  - `type` 'partner_match' | 'research_find', required
  - `status` string, nullable, required

## Other responses

- `400`: Invalid input; `error.param` names the field.
- `401`: Missing, expired or revoked token. WWW-Authenticate points to the resource metadata.
- `402`: subscription_required or upgrade_required; the error carries billing_url.
- `403`: insufficient_scope or admin_required.
- `404`: Unknown endpoint, site, source or record.
- `409`: A request with this Idempotency-Key is still running.
- `422`: This Idempotency-Key was already used for a different request.
- `429`: Rate limited. Retry after Retry-After seconds.
- `500`: OneLence could not complete the request.

---

[API](https://skmtc.dev/onelence/apis/onelence-api.md) · [All operations](https://skmtc.dev/onelence/apis/onelence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onelence/apis/onelence-api/revisions/971c72fe9a42?raw)
