---
title: "Switch Sales Navigator contract"
method: POST
path: "/v1/actions/switch_sales_navigator_contract"
tags: ["InMail"]
---

# Switch Sales Navigator contract

`POST /v1/actions/switch_sales_navigator_contract`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/switch_sales_navigator_contract`
- Auth: HTTP bearer

Make another Sales Navigator contract the active one on an account.

connectionId is required here.

confirm false (the default) only previews. confirm true switches now.

For 10 to 20 seconds after a switch every call on that account can fail; wait before the next one.

The answer's outcome is switched, already_active, not_found, refused, timeout, busy or transient.

Docs: https://heyreagent.com/docs/actions/switch_sales_navigator_contract

## Request body

- object
  - `connectionId` string, required: The LinkedIn account id (list_linkedin_accounts / list_sales_navigator_contracts).
  - `contractId` string, required: The Sales Navigator contract id to make active (from list_sales_navigator_contracts), e.g. "SALES_2062952500".
  - `confirm` boolean: false (default) = preview only, nothing changes. true = switch now (only after the user said yes).

## Response `200`

It worked. Inside result: action, outcome, message.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

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