> ## Documentation Index
> Fetch the complete documentation index at: https://snowseo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set a prospect's relationship

> Correct who publishes a site.

Corrects who SnowSEO thinks publishes a site. The common use is rescuing a prospect wrongly filed as a competitor.

**Body**: `prospectIds` (up to 200), and `relationship` - one of `publisher`, `vendor_adjacent`, `directory`, `community`, `competitor`, `unknown`.

A decision made here is final: it outranks anything the classifier later concludes.


## OpenAPI

````yaml PATCH /v3/outreach/prospects/relationship
openapi: 3.0.0
info:
  title: SnowSEO API
  description: API documentation for SnowSEO
  version: 1.0.0
servers:
  - url: https://api.snowseo.com
    description: Production server
security:
  - bearerAuth: []
  - apiKey: []
externalDocs:
  url: https://snowseo.com/docs
  description: Find more info here
paths:
  /v3/outreach/prospects/relationship:
    patch:
      tags:
        - Outreach
      summary: Correct prospects' relationship
      operationId: setOutreachProspectRelationship
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - prospectIds
                - relationship
              properties:
                teamId:
                  type: string
                prospectIds:
                  type: array
                  items:
                    type: string
                  description: Prospect IDs to relabel.
                relationship:
                  type: string
                  description: The corrected relationship code.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  updated:
                    type: integer
                additionalProperties: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your SnowSEO API key (sk_...).
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.