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

# Stop a contact across campaigns

> Stops one contact in several of your campaigns in a single call, for when you hold the contact's id rather than each campaign's lead id. Everyone else in those campaigns carries on; see POST /business/campaigns/{campaignId}/leads/{leadId}/stop for what stopping does. Every lead the contact holds in those campaigns is stopped, with its pending steps. A campaign the contact is not in is skipped, and the call only fails when the contact is in none of them. Leads that have already finished or stopped keep their state, so repeating the call is harmless. Only the token owner's own campaigns resolve: a campaign delegated to you, one shared by your team's visibility settings, and a deleted one all answer 404. One such id in `campaignIds` fails the whole call before anything is stopped.

Errors:
- `404` `CAMPAIGN_NOT_FOUND` — No campaign with this id exists, it belongs to another account (including a campaign delegated to you or shared by your team's visibility settings), or it has been deleted.
- `404` `CONTACT_NOT_IN_CAMPAIGN` — The contact is not enrolled in any of these campaigns.
- `422` `VALIDATION_FAILED` — contactId or a campaign id is not a 24-character hex id, `campaignIds` is outside 1-50 or repeats an id, or the body carries an unknown field.
- `429` `RATE_LIMITED` — More than 30 campaign requests in a minute, or 1,000 in a day, for this token owner (the bucket is shared by every /business/campaigns, /business/scheduled-sends, /business/campaign-templates and /business/knowledge-hubs call).
- `500` `UNEXPECTED_ERROR` — An unhandled failure; the detail stays in our logs and is never returned.

Requires one of the following token scopes: campaigns.



## OpenAPI

````yaml /openapi.json post /business/campaigns/contacts/{contactId}/stop
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: LinkedIn
  - name: Conversations
  - name: Account
  - name: Sending accounts
  - name: Data
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Tracking domains
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Exclusions
  - name: Contacts
paths:
  /business/campaigns/contacts/{contactId}/stop:
    post:
      tags:
        - Campaigns
      summary: Stop a contact across campaigns
      description: >-
        Stops one contact in several of your campaigns in a single call, for
        when you hold the contact's id rather than each campaign's lead id.
        Everyone else in those campaigns carries on; see POST
        /business/campaigns/{campaignId}/leads/{leadId}/stop for what stopping
        does. Every lead the contact holds in those campaigns is stopped, with
        its pending steps. A campaign the contact is not in is skipped, and the
        call only fails when the contact is in none of them. Leads that have
        already finished or stopped keep their state, so repeating the call is
        harmless. Only the token owner's own campaigns resolve: a campaign
        delegated to you, one shared by your team's visibility settings, and a
        deleted one all answer 404. One such id in `campaignIds` fails the whole
        call before anything is stopped.


        Errors:

        - `404` `CAMPAIGN_NOT_FOUND` — No campaign with this id exists, it
        belongs to another account (including a campaign delegated to you or
        shared by your team's visibility settings), or it has been deleted.

        - `404` `CONTACT_NOT_IN_CAMPAIGN` — The contact is not enrolled in any
        of these campaigns.

        - `422` `VALIDATION_FAILED` — contactId or a campaign id is not a
        24-character hex id, `campaignIds` is outside 1-50 or repeats an id, or
        the body carries an unknown field.

        - `429` `RATE_LIMITED` — More than 30 campaign requests in a minute, or
        1,000 in a day, for this token owner (the bucket is shared by every
        /business/campaigns, /business/scheduled-sends,
        /business/campaign-templates and /business/knowledge-hubs call).

        - `500` `UNEXPECTED_ERROR` — An unhandled failure; the detail stays in
        our logs and is never returned.


        Requires one of the following token scopes: campaigns.
      operationId: stopContactInCampaigns
      parameters:
        - name: contactId
          in: path
          required: true
          description: >-
            The contact's id, as the `contactId` of a GET
            /business/campaigns/{campaignId}/leads row (24-character hex
            ObjectId), not the lead's `id`.
          schema:
            type: string
            description: >-
              The contact's id, as the `contactId` of a GET
              /business/campaigns/{campaignId}/leads row (24-character hex
              ObjectId), not the lead's `id`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                campaignIds:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  maxItems: 50
                  description: The campaigns to stop the contact's sequence in.
              required:
                - campaignIds
      responses:
        '204':
          description: Deleted
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````

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