Create or update a help-center article via ProductLane's draft workflow.
curl --request POST \
--url https://mcp.sagescreen.net/tools/productlane_upsert_article \
--header 'Content-Type: application/json' \
--header 'X-Service-Token: <api-key>' \
--data '
{
"title": "<string>",
"content": "<string>",
"article_id": "<string>",
"group_id": "<string>",
"publish": false
}
'import requests
url = "https://mcp.sagescreen.net/tools/productlane_upsert_article"
payload = {
"title": "<string>",
"content": "<string>",
"article_id": "<string>",
"group_id": "<string>",
"publish": False
}
headers = {
"X-Service-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Service-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
content: '<string>',
article_id: '<string>',
group_id: '<string>',
publish: false
})
};
fetch('https://mcp.sagescreen.net/tools/productlane_upsert_article', 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://mcp.sagescreen.net/tools/productlane_upsert_article",
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([
'title' => '<string>',
'content' => '<string>',
'article_id' => '<string>',
'group_id' => '<string>',
'publish' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Service-Token: <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://mcp.sagescreen.net/tools/productlane_upsert_article"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"article_id\": \"<string>\",\n \"group_id\": \"<string>\",\n \"publish\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Service-Token", "<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://mcp.sagescreen.net/tools/productlane_upsert_article")
.header("X-Service-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"article_id\": \"<string>\",\n \"group_id\": \"<string>\",\n \"publish\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.sagescreen.net/tools/productlane_upsert_article")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Service-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"article_id\": \"<string>\",\n \"group_id\": \"<string>\",\n \"publish\": false\n}"
response = http.request(request)
puts response.read_body{}{
"error": "<string>",
"detail": "<string>"
}{
"error": "Unauthorized"
}{
"error": "<string>",
"detail": "<string>"
}{
"error": "<string>",
"detail": "<string>"
}Productlane
Create or update a help-center article via ProductLane's draft workflow.
Create or update a help-center article via ProductLane’s draft workflow.
Always creates a draft first. With publish=True the draft is immediately
accepted. New article: omit article_id, pass group_id. Edit existing: pass article_id.
POST
/
tools
/
productlane_upsert_article
Create or update a help-center article via ProductLane's draft workflow.
curl --request POST \
--url https://mcp.sagescreen.net/tools/productlane_upsert_article \
--header 'Content-Type: application/json' \
--header 'X-Service-Token: <api-key>' \
--data '
{
"title": "<string>",
"content": "<string>",
"article_id": "<string>",
"group_id": "<string>",
"publish": false
}
'import requests
url = "https://mcp.sagescreen.net/tools/productlane_upsert_article"
payload = {
"title": "<string>",
"content": "<string>",
"article_id": "<string>",
"group_id": "<string>",
"publish": False
}
headers = {
"X-Service-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Service-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
content: '<string>',
article_id: '<string>',
group_id: '<string>',
publish: false
})
};
fetch('https://mcp.sagescreen.net/tools/productlane_upsert_article', 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://mcp.sagescreen.net/tools/productlane_upsert_article",
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([
'title' => '<string>',
'content' => '<string>',
'article_id' => '<string>',
'group_id' => '<string>',
'publish' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Service-Token: <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://mcp.sagescreen.net/tools/productlane_upsert_article"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"article_id\": \"<string>\",\n \"group_id\": \"<string>\",\n \"publish\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Service-Token", "<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://mcp.sagescreen.net/tools/productlane_upsert_article")
.header("X-Service-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"article_id\": \"<string>\",\n \"group_id\": \"<string>\",\n \"publish\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.sagescreen.net/tools/productlane_upsert_article")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Service-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"article_id\": \"<string>\",\n \"group_id\": \"<string>\",\n \"publish\": false\n}"
response = http.request(request)
puts response.read_body{}{
"error": "<string>",
"detail": "<string>"
}{
"error": "Unauthorized"
}{
"error": "<string>",
"detail": "<string>"
}{
"error": "<string>",
"detail": "<string>"
}Authorizations
serviceTokentokenQuery
Body
application/json
Response
Tool result. The shape is tool-specific; most tools return a JSON object, some a {"result": ...} envelope.
The response is of type object.
⌘I