curl --request POST \
--url https://productlane.com/api/v2/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"team_id": "<string>",
"description": "<string>",
"icon": "<string>",
"color": "<string>",
"linear_status_id": "<string>",
"is_visible": true
}
'import requests
url = "https://productlane.com/api/v2/projects"
payload = {
"name": "<string>",
"team_id": "<string>",
"description": "<string>",
"icon": "<string>",
"color": "<string>",
"linear_status_id": "<string>",
"is_visible": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
team_id: '<string>',
description: '<string>',
icon: '<string>',
color: '<string>',
linear_status_id: '<string>',
is_visible: true
})
};
fetch('https://productlane.com/api/v2/projects', 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://productlane.com/api/v2/projects",
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' => '<string>',
'team_id' => '<string>',
'description' => '<string>',
'icon' => '<string>',
'color' => '<string>',
'linear_status_id' => '<string>',
'is_visible' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://productlane.com/api/v2/projects"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"team_id\": \"<string>\",\n \"description\": \"<string>\",\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"linear_status_id\": \"<string>\",\n \"is_visible\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://productlane.com/api/v2/projects")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"team_id\": \"<string>\",\n \"description\": \"<string>\",\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"linear_status_id\": \"<string>\",\n \"is_visible\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://productlane.com/api/v2/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"team_id\": \"<string>\",\n \"description\": \"<string>\",\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"linear_status_id\": \"<string>\",\n \"is_visible\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"icon": "<string>",
"state": "<string>",
"progress": 123,
"sort_order": 123,
"total_score": 123,
"is_visible": true,
"created_at": "<string>",
"updated_at": "<string>",
"linear_project_id": "<string>",
"linear_team_ids": [
"<string>"
],
"linear_team_names": [
"<string>"
]
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}Create project
Create a project, synced to Linear. Requires Linear to be connected and the projects:write scope.
curl --request POST \
--url https://productlane.com/api/v2/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"team_id": "<string>",
"description": "<string>",
"icon": "<string>",
"color": "<string>",
"linear_status_id": "<string>",
"is_visible": true
}
'import requests
url = "https://productlane.com/api/v2/projects"
payload = {
"name": "<string>",
"team_id": "<string>",
"description": "<string>",
"icon": "<string>",
"color": "<string>",
"linear_status_id": "<string>",
"is_visible": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
team_id: '<string>',
description: '<string>',
icon: '<string>',
color: '<string>',
linear_status_id: '<string>',
is_visible: true
})
};
fetch('https://productlane.com/api/v2/projects', 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://productlane.com/api/v2/projects",
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' => '<string>',
'team_id' => '<string>',
'description' => '<string>',
'icon' => '<string>',
'color' => '<string>',
'linear_status_id' => '<string>',
'is_visible' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://productlane.com/api/v2/projects"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"team_id\": \"<string>\",\n \"description\": \"<string>\",\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"linear_status_id\": \"<string>\",\n \"is_visible\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://productlane.com/api/v2/projects")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"team_id\": \"<string>\",\n \"description\": \"<string>\",\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"linear_status_id\": \"<string>\",\n \"is_visible\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://productlane.com/api/v2/projects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"team_id\": \"<string>\",\n \"description\": \"<string>\",\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"linear_status_id\": \"<string>\",\n \"is_visible\": true\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"icon": "<string>",
"state": "<string>",
"progress": 123,
"sort_order": 123,
"total_score": 123,
"is_visible": true,
"created_at": "<string>",
"updated_at": "<string>",
"linear_project_id": "<string>",
"linear_team_ids": [
"<string>"
],
"linear_team_names": [
"<string>"
]
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
1Linear team id. Fetch from GET /me under linear_team_ids.
1Linear project icon identifier (Linear's internal icon set, no public list). Echo back a value from a previous response or the dashboard.
1 - 64Hex color in #RRGGBB or #RGB form.
^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$Lifecycle category. Distinct from linear_status_id, which selects a specific status within the category.
backlog, planned, started, completed, canceled Linear project status id. Fetch from GET /projects/statuses.
Whether the project is shown on the customer portal. Defaults to hidden.
Response
Successful response
Name of a Nucleo icon (PascalCase, e.g. Notepad, Atom). Must be a valid icon from https://nucleoapp.com - unknown names will not render in the dashboard or portal.