Create project in workspace
curl --request POST \
--url https://api.plansync.dev/api/v1/workspaces/{workspaceId}/projects \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>'})
};
fetch('https://api.plansync.dev/api/v1/workspaces/{workspaceId}/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/v1/workspaces/{workspaceId}/projects"
payload = { "name": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"stage": "<string>"
}{
"error": "<string>"
}Workspaces
Create project in workspace
POST
/
api
/
v1
/
workspaces
/
{workspaceId}
/
projects
Create project in workspace
curl --request POST \
--url https://api.plansync.dev/api/v1/workspaces/{workspaceId}/projects \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>'})
};
fetch('https://api.plansync.dev/api/v1/workspaces/{workspaceId}/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/v1/workspaces/{workspaceId}/projects"
payload = { "name": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"stage": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyAuthcookieAuth
Project API key (psk_…) from Project Settings → API keys.
Required scopes depend on the route (e.g. issues:read for listing issues).
Only works on project-scoped /api/v1/projects/{projectId}/… routes.