curl --request POST \
--url https://api.lithoblocks.com/v1/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"description": "<string>",
"method": "POST",
"headers": {},
"auth_type": "none",
"is_active": true,
"retry_enabled": false,
"max_retries": 3,
"retry_strategy": "exponential",
"retry_initial_delay_ms": 1000,
"retry_max_delay_ms": 30000,
"timeout_ms": 10000
}
'import requests
url = "https://api.lithoblocks.com/v1/destinations"
payload = {
"name": "<string>",
"url": "<string>",
"description": "<string>",
"method": "POST",
"headers": {},
"auth_type": "none",
"is_active": True,
"retry_enabled": False,
"max_retries": 3,
"retry_strategy": "exponential",
"retry_initial_delay_ms": 1000,
"retry_max_delay_ms": 30000,
"timeout_ms": 10000
}
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>',
url: '<string>',
description: '<string>',
method: 'POST',
headers: {},
auth_type: 'none',
is_active: true,
retry_enabled: false,
max_retries: 3,
retry_strategy: 'exponential',
retry_initial_delay_ms: 1000,
retry_max_delay_ms: 30000,
timeout_ms: 10000
})
};
fetch('https://api.lithoblocks.com/v1/destinations', 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.lithoblocks.com/v1/destinations",
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>',
'url' => '<string>',
'description' => '<string>',
'method' => 'POST',
'headers' => [
],
'auth_type' => 'none',
'is_active' => true,
'retry_enabled' => false,
'max_retries' => 3,
'retry_strategy' => 'exponential',
'retry_initial_delay_ms' => 1000,
'retry_max_delay_ms' => 30000,
'timeout_ms' => 10000
]),
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.lithoblocks.com/v1/destinations"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\",\n \"method\": \"POST\",\n \"headers\": {},\n \"auth_type\": \"none\",\n \"is_active\": true,\n \"retry_enabled\": false,\n \"max_retries\": 3,\n \"retry_strategy\": \"exponential\",\n \"retry_initial_delay_ms\": 1000,\n \"retry_max_delay_ms\": 30000,\n \"timeout_ms\": 10000\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.lithoblocks.com/v1/destinations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\",\n \"method\": \"POST\",\n \"headers\": {},\n \"auth_type\": \"none\",\n \"is_active\": true,\n \"retry_enabled\": false,\n \"max_retries\": 3,\n \"retry_strategy\": \"exponential\",\n \"retry_initial_delay_ms\": 1000,\n \"retry_max_delay_ms\": 30000,\n \"timeout_ms\": 10000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lithoblocks.com/v1/destinations")
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 \"url\": \"<string>\",\n \"description\": \"<string>\",\n \"method\": \"POST\",\n \"headers\": {},\n \"auth_type\": \"none\",\n \"is_active\": true,\n \"retry_enabled\": false,\n \"max_retries\": 3,\n \"retry_strategy\": \"exponential\",\n \"retry_initial_delay_ms\": 1000,\n \"retry_max_delay_ms\": 30000,\n \"timeout_ms\": 10000\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"url": "<string>",
"is_active": true,
"retry_enabled": true,
"max_retries": 123,
"retry_initial_delay_ms": 123,
"retry_max_delay_ms": 123,
"timeout_ms": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"headers": {},
"created_by": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"description": "<string>",
"method": "POST",
"auth_type": "none",
"retry_strategy": "exponential"
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"success": false,
"error": {
"issues": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"name": "<string>"
},
"message": "<string>",
"code": "validation_failed",
"request_id": "<string>"
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}Create destination
curl --request POST \
--url https://api.lithoblocks.com/v1/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"description": "<string>",
"method": "POST",
"headers": {},
"auth_type": "none",
"is_active": true,
"retry_enabled": false,
"max_retries": 3,
"retry_strategy": "exponential",
"retry_initial_delay_ms": 1000,
"retry_max_delay_ms": 30000,
"timeout_ms": 10000
}
'import requests
url = "https://api.lithoblocks.com/v1/destinations"
payload = {
"name": "<string>",
"url": "<string>",
"description": "<string>",
"method": "POST",
"headers": {},
"auth_type": "none",
"is_active": True,
"retry_enabled": False,
"max_retries": 3,
"retry_strategy": "exponential",
"retry_initial_delay_ms": 1000,
"retry_max_delay_ms": 30000,
"timeout_ms": 10000
}
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>',
url: '<string>',
description: '<string>',
method: 'POST',
headers: {},
auth_type: 'none',
is_active: true,
retry_enabled: false,
max_retries: 3,
retry_strategy: 'exponential',
retry_initial_delay_ms: 1000,
retry_max_delay_ms: 30000,
timeout_ms: 10000
})
};
fetch('https://api.lithoblocks.com/v1/destinations', 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.lithoblocks.com/v1/destinations",
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>',
'url' => '<string>',
'description' => '<string>',
'method' => 'POST',
'headers' => [
],
'auth_type' => 'none',
'is_active' => true,
'retry_enabled' => false,
'max_retries' => 3,
'retry_strategy' => 'exponential',
'retry_initial_delay_ms' => 1000,
'retry_max_delay_ms' => 30000,
'timeout_ms' => 10000
]),
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.lithoblocks.com/v1/destinations"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\",\n \"method\": \"POST\",\n \"headers\": {},\n \"auth_type\": \"none\",\n \"is_active\": true,\n \"retry_enabled\": false,\n \"max_retries\": 3,\n \"retry_strategy\": \"exponential\",\n \"retry_initial_delay_ms\": 1000,\n \"retry_max_delay_ms\": 30000,\n \"timeout_ms\": 10000\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.lithoblocks.com/v1/destinations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\",\n \"method\": \"POST\",\n \"headers\": {},\n \"auth_type\": \"none\",\n \"is_active\": true,\n \"retry_enabled\": false,\n \"max_retries\": 3,\n \"retry_strategy\": \"exponential\",\n \"retry_initial_delay_ms\": 1000,\n \"retry_max_delay_ms\": 30000,\n \"timeout_ms\": 10000\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lithoblocks.com/v1/destinations")
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 \"url\": \"<string>\",\n \"description\": \"<string>\",\n \"method\": \"POST\",\n \"headers\": {},\n \"auth_type\": \"none\",\n \"is_active\": true,\n \"retry_enabled\": false,\n \"max_retries\": 3,\n \"retry_strategy\": \"exponential\",\n \"retry_initial_delay_ms\": 1000,\n \"retry_max_delay_ms\": 30000,\n \"timeout_ms\": 10000\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"url": "<string>",
"is_active": true,
"retry_enabled": true,
"max_retries": 123,
"retry_initial_delay_ms": 123,
"retry_max_delay_ms": 123,
"timeout_ms": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"headers": {},
"created_by": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"description": "<string>",
"method": "POST",
"auth_type": "none",
"retry_strategy": "exponential"
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"success": false,
"error": {
"issues": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>"
}
],
"name": "<string>"
},
"message": "<string>",
"code": "validation_failed",
"request_id": "<string>"
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}{
"error": "<string>",
"code": "unauthenticated",
"request_id": "<string>",
"message": "<string>",
"details": "<string>",
"error_details": "<string>",
"success": false,
"valid": false,
"required_scopes": [
"<string>"
],
"user_scopes": [
"<string>"
]
}Authorizations
LithoBlocks API key obtained from your organization dashboard. The LithoBlocks MCP server also presents a Supabase-issued user session token here on the user's behalf; such a token acts as that user with the scopes their organization role allows.
Headers
Any unique string (a UUID is fine). Repeating a request with the same key and body within 24 hours replays the original response with Idempotency-Replayed: true instead of running again; the same key with a different body is a 409. Incomplete and 5xx outcomes are retained for reconciliation beyond 24 hours. Applies only on the documented endpoints. Never automatically change keys to bypass an uncertain outcome.
1 - 255"3f7d2c1a-9b4e-4f0a-8c6d-2e1b5a7c9d10"
Body
Operation input
1 - 25540962000POST, PUT, PATCH Write-only credential values. Omit on PATCH to preserve; supply an object to replace all headers; {} clears them.
Show child attributes
Show child attributes
none, bearer, basic, custom 0 <= x <= 10fixed, linear, exponential 100 <= x <= 21474836471000 <= x <= 21474836471000 <= x <= 60000Response
Operation result
1 - 2554096Header names only; all values are masked
Show child attributes
Show child attributes
2000POST, PUT, PATCH none, bearer, basic, custom fixed, linear, exponential 
