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

# Campaigns, CRM, and inbox

> Uses outreach_read, outreach_manage or outreach_send according to the action. Inbox reads (attention, searchThreads, getThread, getEmail, getAttachment) use a key's opt-in vsyble.metadata or vsyble.readonly permission. Existing credentials gain no new permissions; reconnect or issue a new scoped key. Omit organizationId to use the current workspace. Sending actions require confirmSend: true after explicit user approval. Existing campaign authorization, revisions, administrator approvals, suppression, verification and sending limits remain authoritative. Never blindly retry a mutation whose outcome is uncertain.

Choose one operation with `action`. Each action has its own inputs and permissions. Open a method's reference for its complete nested fields and a REST example:

* [List campaigns](https://docs.vsyble.com/reference/methods/list_campaigns.md), [read a campaign](https://docs.vsyble.com/reference/methods/read_campaign.md), or [read run progress](https://docs.vsyble.com/reference/methods/get_run.md).
* [Save people](https://docs.vsyble.com/reference/methods/contacts_import.md) or [save companies](https://docs.vsyble.com/reference/methods/companies_import.md) to CRM.
* [Find prospects](https://docs.vsyble.com/reference/methods/find_prospects.md), [add supplied prospects](https://docs.vsyble.com/reference/methods/add_prospects.md), or [prepare messages](https://docs.vsyble.com/reference/methods/prepare_messages.md).
* [Read inbox threads](https://docs.vsyble.com/reference/methods/search_threads.md), [read an email](https://docs.vsyble.com/reference/methods/get_email.md), or [read an attachment](https://docs.vsyble.com/reference/methods/get_attachment.md).
* [Approve exact message revisions](https://docs.vsyble.com/reference/methods/approve_messages.md) or [change campaign state](https://docs.vsyble.com/reference/methods/set_campaign_status.md) after [sending authorization](https://docs.vsyble.com/security/sending.md).

For example, MCP `list_campaigns` maps to REST `action: list`. The HTTP request has an action and inputs directly in the body; do not wrap them in MCP `name` or `arguments`.

Reply draft creation and reply scheduling are available only through hosted OAuth MCP. They are intentionally absent from this API-key endpoint's schema.


## OpenAPI

````yaml openapi.json POST /v1/outreach
openapi: 3.1.0
info:
  title: Vsyble API
  version: 1.0.0
  description: >-
    Search for people and companies, enrich selected results, and manage
    outreach through scoped credentials. Requests and responses use JSON, and
    every operation requires a revocable Vsyble API key.
servers:
  - url: https://api.vsyble.com
    description: Production
security:
  - VsybleApiKey: []
tags:
  - name: Search
    description: Find people or companies from public sources.
  - name: Enrichment
    description: >-
      Enrich explicitly selected, 1-based result numbers from a completed search
      made with this credential.
externalDocs:
  description: Vsyble API documentation
  url: https://vsyble.com/docs/api
paths:
  /v1/outreach:
    post:
      tags:
        - Outreach
      summary: Read or manage outreach
      description: >-
        Uses outreach_read, outreach_manage or outreach_send according to the
        action. Inbox reads (attention, searchThreads, getThread, getEmail,
        getAttachment) use a key's opt-in vsyble.metadata or vsyble.readonly
        permission. Existing credentials gain no new permissions; reconnect or
        issue a new scoped key. Omit organizationId to use the current
        workspace. Sending actions require confirmSend: true after explicit user
        approval. Existing campaign authorization, revisions, administrator
        approvals, suppression, verification and sending limits remain
        authoritative. Never blindly retry a mutation whose outcome is
        uncertain.
      operationId: manageOutreach
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: workspace
                  required:
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    after:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: list
                  required:
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    page:
                      type: integer
                      minimum: 1
                      maximum: 10000
                    status:
                      type: string
                      enum:
                        - all
                        - needs_review
                        - scheduled
                        - sent
                    action:
                      type: string
                      const: detail
                  required:
                    - campaignId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      anyOf:
                        - type: string
                          format: uuid
                          pattern: >-
                            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        - type: 'null'
                    expectedRevision:
                      type: integer
                      minimum: 0
                      maximum: 2147483647
                    name:
                      type: string
                      minLength: 1
                      maxLength: 120
                    status:
                      type: string
                      enum:
                        - draft
                        - paused
                    config:
                      type: object
                      properties:
                        deliveryProvider:
                          default: native
                          type: string
                          enum:
                            - native
                            - instantly
                        instantlyConnectionId:
                          anyOf:
                            - type: string
                              maxLength: 500
                            - type: 'null'
                        mode:
                          type: string
                          const: review
                        timezone:
                          type: string
                          minLength: 1
                          maxLength: 100
                        weekdays:
                          minItems: 1
                          maxItems: 7
                          type: array
                          items:
                            type: integer
                            minimum: 1
                            maximum: 7
                        startMinute:
                          type: integer
                          minimum: 0
                          maximum: 1439
                        endMinute:
                          type: integer
                          minimum: 1
                          maximum: 1440
                        dailyLimit:
                          type: integer
                          minimum: 1
                          maximum: 1000
                        totalSendLimit:
                          anyOf:
                            - type: integer
                              minimum: 1
                              maximum: 100000
                            - type: 'null'
                        senderIds:
                          maxItems: 200
                          type: array
                          items:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        sequence:
                          minItems: 1
                          maxItems: 5
                          type: array
                          items:
                            type: object
                            properties:
                              delayHours:
                                type: integer
                                minimum: 0
                                maximum: 2160
                              subject:
                                type: string
                                maxLength: 998
                              body:
                                type: string
                                maxLength: 100000
                              agentDraftSource:
                                type: string
                                enum:
                                  - draft
                                  - template
                              attachmentIds:
                                maxItems: 5
                                type: array
                                items:
                                  type: string
                                  format: uuid
                                  pattern: >-
                                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                              writingGuide:
                                type: object
                                properties:
                                  researchMode:
                                    type: string
                                    const: customer_account
                                  id:
                                    type: string
                                    minLength: 1
                                    maxLength: 120
                                  name:
                                    type: string
                                    minLength: 1
                                    maxLength: 120
                                  subject:
                                    type: string
                                    maxLength: 200
                                  content:
                                    type: string
                                    minLength: 1
                                    maxLength: 12000
                                required:
                                  - id
                                  - name
                                  - subject
                                  - content
                                additionalProperties: false
                            required:
                              - delayHours
                              - subject
                              - body
                            additionalProperties: false
                        excludePreviousOutreach:
                          type: boolean
                        excludeCustomers:
                          default: true
                          type: boolean
                        excludeActiveOpportunities:
                          default: true
                          type: boolean
                        cooldownDays:
                          type: integer
                          minimum: 0
                          maximum: 3650
                        stopOnReply:
                          type: boolean
                        stopCompanyOnReply:
                          type: boolean
                        includeMailingAddress:
                          default: false
                          type: boolean
                        icpId:
                          anyOf:
                            - type: string
                              format: uuid
                              pattern: >-
                                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                            - type: 'null'
                        signatureMode:
                          default: first_touch
                          type: string
                          enum:
                            - first_touch
                            - full
                            - none
                        openTrackingEnabled:
                          default: false
                          type: boolean
                      required:
                        - mode
                        - timezone
                        - weekdays
                        - startMinute
                        - endMinute
                        - dailyLimit
                        - senderIds
                        - sequence
                        - excludePreviousOutreach
                        - cooldownDays
                        - stopOnReply
                        - stopCompanyOnReply
                      additionalProperties: false
                    action:
                      type: string
                      const: save
                  required:
                    - expectedRevision
                    - name
                    - status
                    - config
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    expectedRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    status:
                      type: string
                      enum:
                        - active
                        - paused
                        - stopped
                    confirmSend:
                      type: boolean
                    action:
                      type: string
                      const: status
                  required:
                    - campaignId
                    - expectedRevision
                    - status
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    after:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    personRecordIds:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    recipientEmails:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: string
                        maxLength: 254
                        format: email
                        pattern: >-
                          ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                    action:
                      type: string
                      const: drafts
                  required:
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    personRecordIds:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: draftsFromContacts
                  required:
                    - personRecordIds
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    drafts:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: object
                        properties:
                          draftId:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          draftRevision:
                            type: integer
                            minimum: 1
                            maximum: 2147483647
                        required:
                          - draftId
                          - draftRevision
                        additionalProperties: false
                    action:
                      type: string
                      const: enrollMany
                  required:
                    - campaignId
                    - campaignRevision
                    - drafts
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    targetCount:
                      default: 10
                      type: integer
                      minimum: 1
                      maximum: 100
                    addToCampaign:
                      default: false
                      type: boolean
                    action:
                      type: string
                      const: findProspects
                  required:
                    - campaignId
                    - campaignRevision
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    people:
                      minItems: 1
                      maxItems: 50
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                            minLength: 1
                            maxLength: 200
                          email:
                            type: string
                            maxLength: 254
                            format: email
                            pattern: >-
                              ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                          title:
                            type: string
                            maxLength: 200
                          company:
                            type: string
                            maxLength: 200
                          companyDomain:
                            type: string
                            maxLength: 253
                          linkedinUrl:
                            type: string
                            maxLength: 500
                            format: uri
                          summary:
                            type: string
                            maxLength: 2000
                          evidence:
                            maxItems: 3
                            type: array
                            items:
                              type: object
                              properties:
                                label:
                                  type: string
                                  minLength: 1
                                  maxLength: 180
                                url:
                                  type: string
                                  maxLength: 2000
                                  format: uri
                                observation:
                                  type: string
                                  minLength: 1
                                  maxLength: 700
                                publishedAt:
                                  anyOf:
                                    - type: string
                                      format: date
                                      pattern: >-
                                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
                                    - type: 'null'
                              required:
                                - label
                                - url
                                - observation
                              additionalProperties: false
                        required:
                          - name
                          - email
                        additionalProperties: false
                    action:
                      type: string
                      const: importContacts
                  required:
                    - people
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    requestId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      description: >-
                        New UUID for this batch. Keep it unchanged when retrying
                        the same companies.
                    companies:
                      minItems: 1
                      maxItems: 500
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                            minLength: 1
                            maxLength: 200
                          domain:
                            type: string
                            minLength: 1
                            maxLength: 4096
                          website:
                            type: string
                            maxLength: 2000
                            format: uri
                          description:
                            type: string
                            maxLength: 2000
                          industry:
                            type: string
                            maxLength: 200
                          city:
                            type: string
                            maxLength: 200
                          stateCode:
                            type: string
                            maxLength: 200
                          country:
                            type: string
                            maxLength: 200
                          linkedinUrl:
                            type: string
                            maxLength: 500
                            format: uri
                        required:
                          - name
                        additionalProperties: false
                    action:
                      type: string
                      const: importCompanies
                  required:
                    - requestId
                    - companies
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    people:
                      minItems: 1
                      maxItems: 50
                      type: array
                      items:
                        type: object
                        properties:
                          name:
                            type: string
                            minLength: 1
                            maxLength: 200
                          email:
                            type: string
                            maxLength: 320
                            format: email
                            pattern: >-
                              ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                          firstName:
                            type: string
                            maxLength: 100
                          title:
                            type: string
                            maxLength: 200
                          company:
                            type: string
                            maxLength: 200
                          companyDomain:
                            type: string
                            maxLength: 253
                          linkedinUrl:
                            type: string
                            maxLength: 500
                            format: uri
                          summary:
                            type: string
                            maxLength: 2000
                          evidence:
                            maxItems: 3
                            type: array
                            items:
                              type: object
                              properties:
                                label:
                                  type: string
                                  minLength: 1
                                  maxLength: 180
                                url:
                                  type: string
                                  maxLength: 2000
                                  format: uri
                                observation:
                                  type: string
                                  minLength: 1
                                  maxLength: 700
                                publishedAt:
                                  anyOf:
                                    - type: string
                                      format: date
                                      pattern: >-
                                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
                                    - type: 'null'
                              required:
                                - label
                                - url
                                - observation
                              additionalProperties: false
                        required:
                          - name
                          - email
                        additionalProperties: false
                    addToCampaign:
                      default: false
                      type: boolean
                    action:
                      type: string
                      const: addProspects
                  required:
                    - campaignId
                    - campaignRevision
                    - people
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    all:
                      type: boolean
                      const: true
                    enrollmentId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    sourceRunId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    candidateKeys:
                      minItems: 1
                      maxItems: 15
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 200
                    action:
                      type: string
                      const: prepareMessages
                  required:
                    - campaignId
                    - campaignRevision
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    runId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: run
                  required:
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    messageId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: message
                  required:
                    - messageId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    messageId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    draftRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    subject:
                      type: string
                      maxLength: 998
                    body:
                      type: string
                      maxLength: 100000
                    cc:
                      default: ''
                      type: string
                      maxLength: 3000
                    bcc:
                      default: ''
                      type: string
                      maxLength: 3000
                    action:
                      type: string
                      const: edit
                  required:
                    - messageId
                    - draftRevision
                    - subject
                    - body
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    items:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: object
                        properties:
                          draftId:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          revision:
                            type: integer
                            minimum: 1
                            maximum: 2147483647
                        required:
                          - draftId
                          - revision
                        additionalProperties: false
                    action:
                      type: string
                      const: submit
                  required:
                    - campaignId
                    - campaignRevision
                    - items
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: submissions
                  required:
                    - campaignId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    submissionId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: submission
                  required:
                    - submissionId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    submissionId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    approve:
                      type: boolean
                    feedback:
                      type: string
                      maxLength: 2000
                    confirmSend:
                      type: boolean
                    action:
                      type: string
                      const: decideSubmission
                  required:
                    - submissionId
                    - approve
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignRevision:
                      type: integer
                      minimum: 1
                      maximum: 2147483647
                    items:
                      minItems: 1
                      maxItems: 100
                      type: array
                      items:
                        type: object
                        properties:
                          draftId:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                          revision:
                            type: integer
                            minimum: 1
                            maximum: 2147483647
                        required:
                          - draftId
                          - revision
                        additionalProperties: false
                    confirmSend:
                      type: boolean
                      const: true
                    action:
                      type: string
                      const: review
                  required:
                    - campaignId
                    - campaignRevision
                    - items
                    - confirmSend
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    enrollmentId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: cancel
                  required:
                    - enrollmentId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    campaignId:
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    page:
                      type: integer
                      minimum: 1
                      maximum: 10000
                    action:
                      type: string
                      const: replies
                  required:
                    - campaignId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: attention
                  required:
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    folder:
                      type: string
                      enum:
                        - inbox
                        - sent
                        - needs_reply
                    accountId:
                      type: string
                      minLength: 1
                      maxLength: 500
                    query:
                      type: string
                      maxLength: 200
                    cursor:
                      type: string
                      maxLength: 22000
                    action:
                      type: string
                      const: searchThreads
                  required:
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    thread:
                      type: object
                      properties:
                        account_id:
                          type: string
                          minLength: 1
                          maxLength: 500
                        thread_id:
                          type: string
                          minLength: 1
                          maxLength: 500
                        provider:
                          type: string
                          enum:
                            - gmail
                            - outlook
                            - instantly
                      required:
                        - account_id
                        - thread_id
                        - provider
                      additionalProperties: false
                    format:
                      type: string
                      enum:
                        - metadata
                        - full
                    before:
                      type: string
                      minLength: 1
                      maxLength: 500
                    action:
                      type: string
                      const: getThread
                  required:
                    - thread
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    thread:
                      type: object
                      properties:
                        account_id:
                          type: string
                          minLength: 1
                          maxLength: 500
                        thread_id:
                          type: string
                          minLength: 1
                          maxLength: 500
                        provider:
                          type: string
                          enum:
                            - gmail
                            - outlook
                            - instantly
                      required:
                        - account_id
                        - thread_id
                        - provider
                      additionalProperties: false
                    format:
                      type: string
                      enum:
                        - metadata
                        - full
                    messageId:
                      type: string
                      minLength: 1
                      maxLength: 500
                    action:
                      type: string
                      const: getEmail
                  required:
                    - thread
                    - messageId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    thread:
                      type: object
                      properties:
                        account_id:
                          type: string
                          minLength: 1
                          maxLength: 500
                        thread_id:
                          type: string
                          minLength: 1
                          maxLength: 500
                        provider:
                          type: string
                          enum:
                            - gmail
                            - outlook
                            - instantly
                      required:
                        - account_id
                        - thread_id
                        - provider
                      additionalProperties: false
                    messageId:
                      type: string
                      minLength: 1
                      maxLength: 500
                    attachmentId:
                      type: string
                      minLength: 1
                      maxLength: 5000
                    action:
                      type: string
                      const: getAttachment
                  required:
                    - thread
                    - messageId
                    - attachmentId
                    - action
                  additionalProperties: false
                - $schema: https://json-schema.org/draft/2020-12/schema
                  type: object
                  properties:
                    organizationId:
                      description: Workspace ID. Omit to use your current workspace.
                      type: string
                      format: uuid
                      pattern: >-
                        ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    action:
                      type: string
                      const: scheduledReplies
                  required:
                    - action
                  additionalProperties: false
            example:
              action: list
      responses:
        '200':
          description: >-
            The existing campaign command's result, or the resolved workspace
            ID.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: The JSON body or one of its fields is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_request
                  message: limit must be an integer between 1 and 100
                  retry_after_seconds: 0
        '401':
          description: The API key is missing, malformed, expired, revoked, or unknown.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: invalid_api_key
                  message: Missing or invalid API key
        '403':
          description: The API key or account cannot use this operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: insufficient_scope
                  message: API key does not have the required permission
                  retry_after_seconds: 0
        '405':
          description: The route only accepts POST requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: method_not_allowed
                  message: Only POST is supported
        '409':
          description: >-
            The campaign or message changed. Read the current revision before
            trying again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: campaign_changed
                  message: >-
                    This campaign or message changed. Refresh it before trying
                    again.
        '413':
          description: The outreach request body exceeds 640 KiB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: request_too_large
                  message: Request body is too large
        '429':
          description: >-
            An edge rate limit, account quota, or credential spend limit was
            reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: api_rate_limit_exceeded
                  message: Too many Vsyble API requests
                  retry_after_seconds: 60
          headers:
            Retry-After:
              description: Seconds to wait before retrying, when available.
              schema:
                type: integer
                minimum: 0
        '503':
          description: >-
            The gateway, credential verifier, quota service, or another required
            dependency is temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: api_unavailable
                  message: The Vsyble API is temporarily unavailable
components:
  schemas:
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Stable machine-readable error code.
            message:
              type: string
              description: Concise, caller-safe description of the outcome.
            request_id:
              type: string
              format: uuid
              description: Request identifier, when available.
            retry_after_seconds:
              type: number
              minimum: 0
              description: Recommended retry delay, when applicable.
  securitySchemes:
    VsybleApiKey:
      type: apiKey
      in: header
      name: X-Vsyble-Api-Key
      description: >-
        Create and revoke scoped API keys at https://app.vsyble.com/mcp. Keep
        each key outside source control and use a separate key per application
        or environment.

````

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