Move a sender profile's LinkedIn account to another workspace
curl --request POST \
--url https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Team-SID: <api-key>' \
--data '
{
"connection_sid": "<string>",
"to_email": "jsmith@example.com"
}
'import requests
url = "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move"
payload = {
"connection_sid": "<string>",
"to_email": "jsmith@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Team-SID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Team-SID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({connection_sid: '<string>', to_email: 'jsmith@example.com'})
};
fetch('https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'connection_sid' => '<string>',
'to_email' => 'jsmith@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Team-SID: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move"
payload := strings.NewReader("{\n \"connection_sid\": \"<string>\",\n \"to_email\": \"jsmith@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Team-SID", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"connection_sid\": \"<string>\",\n \"to_email\": \"jsmith@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Team-SID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"connection_sid\": \"<string>\",\n \"to_email\": \"jsmith@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "action",
"action": "<string>",
"item": {},
"result": {
"move": {
"sender_profile_sid": "<string>",
"status": "<string>",
"target": {
"kind": "<string>",
"connection_sid": "<string>",
"gtm_team_sid": "<string>",
"label": "<string>",
"email": "<string>"
},
"name": "<string>",
"transfer_sid": "<string>",
"to_team_sid": "<string>",
"source_account_sid": "<string>",
"target_account_sid": "<string>",
"receiver_over_slot": true,
"failure_reason": "<string>",
"outcome": "<string>",
"started_at": "<string>",
"updated_at": "<string>",
"settled_at": "<string>"
}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}sender_profiles
Move a sender profile's LinkedIn account to another workspace
Move this sender profile’s LinkedIn account out of GetSales Managed Workspace for good: to a gtm-api.com workspace the team has connected (connection_sid, from search_gtm_connections) or to a gtm-api.com user by email (to_email), exactly one. The same signed-in session lands there. The sender profile follows the account when the team reaches that workspace, else its LinkedIn channel is cleared. Conversations stay. It cannot be undone here. Follow it with list_sender_profile_linkedin_moves.
Contract:
- MCP tool
move_sender_profile_linkedin, registry packagemcp.unibox/sender_profiles, mountsender-accounts. - Operation
action, response envelopeaction. - Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
POST
/
api
/
sender-profiles
/
{sid}
/
linkedin
/
move
Move a sender profile's LinkedIn account to another workspace
curl --request POST \
--url https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Team-SID: <api-key>' \
--data '
{
"connection_sid": "<string>",
"to_email": "jsmith@example.com"
}
'import requests
url = "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move"
payload = {
"connection_sid": "<string>",
"to_email": "jsmith@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Team-SID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Team-SID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({connection_sid: '<string>', to_email: 'jsmith@example.com'})
};
fetch('https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'connection_sid' => '<string>',
'to_email' => 'jsmith@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Team-SID: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move"
payload := strings.NewReader("{\n \"connection_sid\": \"<string>\",\n \"to_email\": \"jsmith@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Team-SID", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move")
.header("Authorization", "Bearer <token>")
.header("Team-SID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"connection_sid\": \"<string>\",\n \"to_email\": \"jsmith@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api2.getsales.io/unibox/v1/api/sender-profiles/{sid}/linkedin/move")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Team-SID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"connection_sid\": \"<string>\",\n \"to_email\": \"jsmith@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"operation": "action",
"action": "<string>",
"item": {},
"result": {
"move": {
"sender_profile_sid": "<string>",
"status": "<string>",
"target": {
"kind": "<string>",
"connection_sid": "<string>",
"gtm_team_sid": "<string>",
"label": "<string>",
"email": "<string>"
},
"name": "<string>",
"transfer_sid": "<string>",
"to_team_sid": "<string>",
"source_account_sid": "<string>",
"target_account_sid": "<string>",
"receiver_over_slot": true,
"failure_reason": "<string>",
"outcome": "<string>",
"started_at": "<string>",
"updated_at": "<string>",
"settled_at": "<string>"
}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "<string>",
"recoverable": true,
"suggestion": "<string>",
"field_errors": {},
"blockers": [
{
"type": "<string>",
"severity": "hard",
"description": "<string>",
"entity_sid": "<string>",
"resolution": "<string>",
"resolution_hint": "<string>",
"count": 123
}
],
"context": {}
},
"meta": {
"trace_id": "<string>",
"span_id": "<string>",
"timestamp": "<string>",
"duration_ms": 1,
"team_sid": "<string>",
"actor_type": "<string>"
}
}Authorizations
Path Parameters
Body
application/json
Request body of move_sender_profile_linkedin.
Response
action success envelope.