curl --request POST \
--url https://app.octavehq.com/api/v2/workspace-company/update \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"name": "Acme Corp",
"internalName": "Acme",
"description": "Acme builds GTM tooling for B2B SaaS teams.",
"url": "https://acme.com",
"whyWeExist": [
"Help B2B teams scale outbound without losing personalization"
],
"howWePositionOurselves": [
"The first sales platform built around the buying journey"
],
"whoWeHelp": [
"B2B sales teams at high-growth SaaS companies"
],
"whatMakesUsUnique": [
"Bidirectional knowledge graph connecting library to outcomes"
],
"businessModel": [
"Annual subscription, seat-based pricing"
],
"marketDynamics": [
"AI-driven sales tooling consolidation"
],
"whyCustomersBuy": [
"Higher reply rates without expanding the SDR team"
],
"whyCustomersCare": [
"Sales productivity directly drives revenue growth"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
],
"customMarketFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
}
'import requests
url = "https://app.octavehq.com/api/v2/workspace-company/update"
payload = {
"name": "Acme Corp",
"internalName": "Acme",
"description": "Acme builds GTM tooling for B2B SaaS teams.",
"url": "https://acme.com",
"whyWeExist": ["Help B2B teams scale outbound without losing personalization"],
"howWePositionOurselves": ["The first sales platform built around the buying journey"],
"whoWeHelp": ["B2B sales teams at high-growth SaaS companies"],
"whatMakesUsUnique": ["Bidirectional knowledge graph connecting library to outcomes"],
"businessModel": ["Annual subscription, seat-based pricing"],
"marketDynamics": ["AI-driven sales tooling consolidation"],
"whyCustomersBuy": ["Higher reply rates without expanding the SDR team"],
"whyCustomersCare": ["Sales productivity directly drives revenue growth"],
"customFields": [
{
"title": "<string>",
"value": ["<string>"]
}
],
"customMarketFields": [
{
"title": "<string>",
"value": ["<string>"]
}
]
}
headers = {
"api_key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {api_key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp',
internalName: 'Acme',
description: 'Acme builds GTM tooling for B2B SaaS teams.',
url: 'https://acme.com',
whyWeExist: ['Help B2B teams scale outbound without losing personalization'],
howWePositionOurselves: ['The first sales platform built around the buying journey'],
whoWeHelp: ['B2B sales teams at high-growth SaaS companies'],
whatMakesUsUnique: ['Bidirectional knowledge graph connecting library to outcomes'],
businessModel: ['Annual subscription, seat-based pricing'],
marketDynamics: ['AI-driven sales tooling consolidation'],
whyCustomersBuy: ['Higher reply rates without expanding the SDR team'],
whyCustomersCare: ['Sales productivity directly drives revenue growth'],
customFields: [{title: '<string>', value: ['<string>']}],
customMarketFields: [{title: '<string>', value: ['<string>']}]
})
};
fetch('https://app.octavehq.com/api/v2/workspace-company/update', 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://app.octavehq.com/api/v2/workspace-company/update",
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([
'name' => 'Acme Corp',
'internalName' => 'Acme',
'description' => 'Acme builds GTM tooling for B2B SaaS teams.',
'url' => 'https://acme.com',
'whyWeExist' => [
'Help B2B teams scale outbound without losing personalization'
],
'howWePositionOurselves' => [
'The first sales platform built around the buying journey'
],
'whoWeHelp' => [
'B2B sales teams at high-growth SaaS companies'
],
'whatMakesUsUnique' => [
'Bidirectional knowledge graph connecting library to outcomes'
],
'businessModel' => [
'Annual subscription, seat-based pricing'
],
'marketDynamics' => [
'AI-driven sales tooling consolidation'
],
'whyCustomersBuy' => [
'Higher reply rates without expanding the SDR team'
],
'whyCustomersCare' => [
'Sales productivity directly drives revenue growth'
],
'customFields' => [
[
'title' => '<string>',
'value' => [
'<string>'
]
]
],
'customMarketFields' => [
[
'title' => '<string>',
'value' => [
'<string>'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"api_key: <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://app.octavehq.com/api/v2/workspace-company/update"
payload := strings.NewReader("{\n \"name\": \"Acme Corp\",\n \"internalName\": \"Acme\",\n \"description\": \"Acme builds GTM tooling for B2B SaaS teams.\",\n \"url\": \"https://acme.com\",\n \"whyWeExist\": [\n \"Help B2B teams scale outbound without losing personalization\"\n ],\n \"howWePositionOurselves\": [\n \"The first sales platform built around the buying journey\"\n ],\n \"whoWeHelp\": [\n \"B2B sales teams at high-growth SaaS companies\"\n ],\n \"whatMakesUsUnique\": [\n \"Bidirectional knowledge graph connecting library to outcomes\"\n ],\n \"businessModel\": [\n \"Annual subscription, seat-based pricing\"\n ],\n \"marketDynamics\": [\n \"AI-driven sales tooling consolidation\"\n ],\n \"whyCustomersBuy\": [\n \"Higher reply rates without expanding the SDR team\"\n ],\n \"whyCustomersCare\": [\n \"Sales productivity directly drives revenue growth\"\n ],\n \"customFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ],\n \"customMarketFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api_key", "<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://app.octavehq.com/api/v2/workspace-company/update")
.header("api_key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp\",\n \"internalName\": \"Acme\",\n \"description\": \"Acme builds GTM tooling for B2B SaaS teams.\",\n \"url\": \"https://acme.com\",\n \"whyWeExist\": [\n \"Help B2B teams scale outbound without losing personalization\"\n ],\n \"howWePositionOurselves\": [\n \"The first sales platform built around the buying journey\"\n ],\n \"whoWeHelp\": [\n \"B2B sales teams at high-growth SaaS companies\"\n ],\n \"whatMakesUsUnique\": [\n \"Bidirectional knowledge graph connecting library to outcomes\"\n ],\n \"businessModel\": [\n \"Annual subscription, seat-based pricing\"\n ],\n \"marketDynamics\": [\n \"AI-driven sales tooling consolidation\"\n ],\n \"whyCustomersBuy\": [\n \"Higher reply rates without expanding the SDR team\"\n ],\n \"whyCustomersCare\": [\n \"Sales productivity directly drives revenue growth\"\n ],\n \"customFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ],\n \"customMarketFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.octavehq.com/api/v2/workspace-company/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api_key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp\",\n \"internalName\": \"Acme\",\n \"description\": \"Acme builds GTM tooling for B2B SaaS teams.\",\n \"url\": \"https://acme.com\",\n \"whyWeExist\": [\n \"Help B2B teams scale outbound without losing personalization\"\n ],\n \"howWePositionOurselves\": [\n \"The first sales platform built around the buying journey\"\n ],\n \"whoWeHelp\": [\n \"B2B sales teams at high-growth SaaS companies\"\n ],\n \"whatMakesUsUnique\": [\n \"Bidirectional knowledge graph connecting library to outcomes\"\n ],\n \"businessModel\": [\n \"Annual subscription, seat-based pricing\"\n ],\n \"marketDynamics\": [\n \"AI-driven sales tooling consolidation\"\n ],\n \"whyCustomersBuy\": [\n \"Higher reply rates without expanding the SDR team\"\n ],\n \"whyCustomersCare\": [\n \"Sales productivity directly drives revenue growth\"\n ],\n \"customFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ],\n \"customMarketFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": {
"oId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"name": "<string>",
"url": "<string>",
"data": {
"whyWeExist": [
"<string>"
],
"howWePositionOurselves": [
"<string>"
],
"whoWeHelp": [
"<string>"
],
"whatMakesUsUnique": [
"<string>"
],
"businessModel": [
"<string>"
],
"marketDynamics": [
"<string>"
],
"whatWeDo": "<string>",
"whyCustomersBuy": [
"<string>"
],
"whyCustomersCare": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
],
"customMarketFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"internalName": "<string>",
"user": {
"oId": "<string>"
},
"workspace": {
"oId": "<string>"
},
"intelOverride": {
"enabled": true,
"guidance": "<string>"
}
}
}{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"message": "<string>"
}{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"message": "<string>"
}Update Workspace Company
Update the workspace company. There is exactly one workspace company per workspace; the caller’s workspace is inferred from the API key.
curl --request POST \
--url https://app.octavehq.com/api/v2/workspace-company/update \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"name": "Acme Corp",
"internalName": "Acme",
"description": "Acme builds GTM tooling for B2B SaaS teams.",
"url": "https://acme.com",
"whyWeExist": [
"Help B2B teams scale outbound without losing personalization"
],
"howWePositionOurselves": [
"The first sales platform built around the buying journey"
],
"whoWeHelp": [
"B2B sales teams at high-growth SaaS companies"
],
"whatMakesUsUnique": [
"Bidirectional knowledge graph connecting library to outcomes"
],
"businessModel": [
"Annual subscription, seat-based pricing"
],
"marketDynamics": [
"AI-driven sales tooling consolidation"
],
"whyCustomersBuy": [
"Higher reply rates without expanding the SDR team"
],
"whyCustomersCare": [
"Sales productivity directly drives revenue growth"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
],
"customMarketFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
}
'import requests
url = "https://app.octavehq.com/api/v2/workspace-company/update"
payload = {
"name": "Acme Corp",
"internalName": "Acme",
"description": "Acme builds GTM tooling for B2B SaaS teams.",
"url": "https://acme.com",
"whyWeExist": ["Help B2B teams scale outbound without losing personalization"],
"howWePositionOurselves": ["The first sales platform built around the buying journey"],
"whoWeHelp": ["B2B sales teams at high-growth SaaS companies"],
"whatMakesUsUnique": ["Bidirectional knowledge graph connecting library to outcomes"],
"businessModel": ["Annual subscription, seat-based pricing"],
"marketDynamics": ["AI-driven sales tooling consolidation"],
"whyCustomersBuy": ["Higher reply rates without expanding the SDR team"],
"whyCustomersCare": ["Sales productivity directly drives revenue growth"],
"customFields": [
{
"title": "<string>",
"value": ["<string>"]
}
],
"customMarketFields": [
{
"title": "<string>",
"value": ["<string>"]
}
]
}
headers = {
"api_key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {api_key: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp',
internalName: 'Acme',
description: 'Acme builds GTM tooling for B2B SaaS teams.',
url: 'https://acme.com',
whyWeExist: ['Help B2B teams scale outbound without losing personalization'],
howWePositionOurselves: ['The first sales platform built around the buying journey'],
whoWeHelp: ['B2B sales teams at high-growth SaaS companies'],
whatMakesUsUnique: ['Bidirectional knowledge graph connecting library to outcomes'],
businessModel: ['Annual subscription, seat-based pricing'],
marketDynamics: ['AI-driven sales tooling consolidation'],
whyCustomersBuy: ['Higher reply rates without expanding the SDR team'],
whyCustomersCare: ['Sales productivity directly drives revenue growth'],
customFields: [{title: '<string>', value: ['<string>']}],
customMarketFields: [{title: '<string>', value: ['<string>']}]
})
};
fetch('https://app.octavehq.com/api/v2/workspace-company/update', 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://app.octavehq.com/api/v2/workspace-company/update",
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([
'name' => 'Acme Corp',
'internalName' => 'Acme',
'description' => 'Acme builds GTM tooling for B2B SaaS teams.',
'url' => 'https://acme.com',
'whyWeExist' => [
'Help B2B teams scale outbound without losing personalization'
],
'howWePositionOurselves' => [
'The first sales platform built around the buying journey'
],
'whoWeHelp' => [
'B2B sales teams at high-growth SaaS companies'
],
'whatMakesUsUnique' => [
'Bidirectional knowledge graph connecting library to outcomes'
],
'businessModel' => [
'Annual subscription, seat-based pricing'
],
'marketDynamics' => [
'AI-driven sales tooling consolidation'
],
'whyCustomersBuy' => [
'Higher reply rates without expanding the SDR team'
],
'whyCustomersCare' => [
'Sales productivity directly drives revenue growth'
],
'customFields' => [
[
'title' => '<string>',
'value' => [
'<string>'
]
]
],
'customMarketFields' => [
[
'title' => '<string>',
'value' => [
'<string>'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"api_key: <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://app.octavehq.com/api/v2/workspace-company/update"
payload := strings.NewReader("{\n \"name\": \"Acme Corp\",\n \"internalName\": \"Acme\",\n \"description\": \"Acme builds GTM tooling for B2B SaaS teams.\",\n \"url\": \"https://acme.com\",\n \"whyWeExist\": [\n \"Help B2B teams scale outbound without losing personalization\"\n ],\n \"howWePositionOurselves\": [\n \"The first sales platform built around the buying journey\"\n ],\n \"whoWeHelp\": [\n \"B2B sales teams at high-growth SaaS companies\"\n ],\n \"whatMakesUsUnique\": [\n \"Bidirectional knowledge graph connecting library to outcomes\"\n ],\n \"businessModel\": [\n \"Annual subscription, seat-based pricing\"\n ],\n \"marketDynamics\": [\n \"AI-driven sales tooling consolidation\"\n ],\n \"whyCustomersBuy\": [\n \"Higher reply rates without expanding the SDR team\"\n ],\n \"whyCustomersCare\": [\n \"Sales productivity directly drives revenue growth\"\n ],\n \"customFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ],\n \"customMarketFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("api_key", "<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://app.octavehq.com/api/v2/workspace-company/update")
.header("api_key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp\",\n \"internalName\": \"Acme\",\n \"description\": \"Acme builds GTM tooling for B2B SaaS teams.\",\n \"url\": \"https://acme.com\",\n \"whyWeExist\": [\n \"Help B2B teams scale outbound without losing personalization\"\n ],\n \"howWePositionOurselves\": [\n \"The first sales platform built around the buying journey\"\n ],\n \"whoWeHelp\": [\n \"B2B sales teams at high-growth SaaS companies\"\n ],\n \"whatMakesUsUnique\": [\n \"Bidirectional knowledge graph connecting library to outcomes\"\n ],\n \"businessModel\": [\n \"Annual subscription, seat-based pricing\"\n ],\n \"marketDynamics\": [\n \"AI-driven sales tooling consolidation\"\n ],\n \"whyCustomersBuy\": [\n \"Higher reply rates without expanding the SDR team\"\n ],\n \"whyCustomersCare\": [\n \"Sales productivity directly drives revenue growth\"\n ],\n \"customFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ],\n \"customMarketFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.octavehq.com/api/v2/workspace-company/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api_key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp\",\n \"internalName\": \"Acme\",\n \"description\": \"Acme builds GTM tooling for B2B SaaS teams.\",\n \"url\": \"https://acme.com\",\n \"whyWeExist\": [\n \"Help B2B teams scale outbound without losing personalization\"\n ],\n \"howWePositionOurselves\": [\n \"The first sales platform built around the buying journey\"\n ],\n \"whoWeHelp\": [\n \"B2B sales teams at high-growth SaaS companies\"\n ],\n \"whatMakesUsUnique\": [\n \"Bidirectional knowledge graph connecting library to outcomes\"\n ],\n \"businessModel\": [\n \"Annual subscription, seat-based pricing\"\n ],\n \"marketDynamics\": [\n \"AI-driven sales tooling consolidation\"\n ],\n \"whyCustomersBuy\": [\n \"Higher reply rates without expanding the SDR team\"\n ],\n \"whyCustomersCare\": [\n \"Sales productivity directly drives revenue growth\"\n ],\n \"customFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ],\n \"customMarketFields\": [\n {\n \"title\": \"<string>\",\n \"value\": [\n \"<string>\"\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": {
"oId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"name": "<string>",
"url": "<string>",
"data": {
"whyWeExist": [
"<string>"
],
"howWePositionOurselves": [
"<string>"
],
"whoWeHelp": [
"<string>"
],
"whatMakesUsUnique": [
"<string>"
],
"businessModel": [
"<string>"
],
"marketDynamics": [
"<string>"
],
"whatWeDo": "<string>",
"whyCustomersBuy": [
"<string>"
],
"whyCustomersCare": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
],
"customMarketFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"internalName": "<string>",
"user": {
"oId": "<string>"
},
"workspace": {
"oId": "<string>"
},
"intelOverride": {
"enabled": true,
"guidance": "<string>"
}
}
}{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"message": "<string>"
}{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"message": "<string>"
}Authorizations
Body
Workspace Company update input
The external name of the workspace company
"Acme Corp"
The internal name of the workspace company
"Acme"
A description of the workspace company
"Acme builds GTM tooling for B2B SaaS teams."
The website URL for the workspace company
"https://acme.com"
Why the company exists
[
"Help B2B teams scale outbound without losing personalization"
]
How the company positions itself in the market
[
"The first sales platform built around the buying journey"
]
Who the company helps
[
"B2B sales teams at high-growth SaaS companies"
]
What makes the company unique
[
"Bidirectional knowledge graph connecting library to outcomes"
]
The company's business model
["Annual subscription, seat-based pricing"]
Market dynamics the company operates within
["AI-driven sales tooling consolidation"]
Why customers buy
[
"Higher reply rates without expanding the SDR team"
]
Why customers care
[
"Sales productivity directly drives revenue growth"
]
Custom fields for additional workspace company information
Show child attributes
Show child attributes
Custom market-specific fields
Show child attributes
Show child attributes