Create a folder
curl --request POST \
--url https://api.rask.ai/v3/folders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Webinars",
"is_pinned": true
}
'import requests
url = "https://api.rask.ai/v3/folders"
payload = {
"name": "Webinars",
"is_pinned": 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: 'Webinars', is_pinned: true})
};
fetch('https://api.rask.ai/v3/folders', 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://api.rask.ai/v3/folders",
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' => 'Webinars',
'is_pinned' => 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://api.rask.ai/v3/folders"
payload := strings.NewReader("{\n \"name\": \"Webinars\",\n \"is_pinned\": 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://api.rask.ai/v3/folders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Webinars\",\n \"is_pinned\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/folders")
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\": \"Webinars\",\n \"is_pinned\": true\n}"
response = http.request(request)
puts response.read_body{
"object": "folder",
"id": "41aa8f3e-6c2d-4b7a-9e1f-5d3c8b0a2e61",
"name": "Webinars",
"is_pinned": true,
"project_count": 0,
"created_at": "2026-09-01T12:00:00Z"
}Projects
Create a folder
Creates a folder in the workspace.
POST
/
folders
Create a folder
curl --request POST \
--url https://api.rask.ai/v3/folders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Webinars",
"is_pinned": true
}
'import requests
url = "https://api.rask.ai/v3/folders"
payload = {
"name": "Webinars",
"is_pinned": 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: 'Webinars', is_pinned: true})
};
fetch('https://api.rask.ai/v3/folders', 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://api.rask.ai/v3/folders",
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' => 'Webinars',
'is_pinned' => 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://api.rask.ai/v3/folders"
payload := strings.NewReader("{\n \"name\": \"Webinars\",\n \"is_pinned\": 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://api.rask.ai/v3/folders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Webinars\",\n \"is_pinned\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rask.ai/v3/folders")
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\": \"Webinars\",\n \"is_pinned\": true\n}"
response = http.request(request)
puts response.read_body{
"object": "folder",
"id": "41aa8f3e-6c2d-4b7a-9e1f-5d3c8b0a2e61",
"name": "Webinars",
"is_pinned": true,
"project_count": 0,
"created_at": "2026-09-01T12:00:00Z"
}When to use: to organize projects.
Side effects: None beyond the new folder.
Cost: Free.
Idempotency:
Idempotency-Key accepted (SDKs send one); retries within 24 h replay the first response.
Required scopes: projects:writeAuthorizations
API key from Settings -> API keys, sent as Authorization: Bearer <key> (SDK environment variable RASK_API_KEY). Bound to one workspace and one acting user. Operations list the scopes they need (OpenAPI 3.1 scopes on a bearer scheme).
Scopes
projects:write
Headers
Optional. A unique key per logical request (SDKs send a bare UUIDv4; an RFC 9651 quoted string is accepted and unquoted); reuse it unchanged on retries to replay the first response.
Required string length:
1 - 255Pattern:
^[\x20-\x7E]+$Body
application/json
Response
Created: Folder.
A project folder.