Skip to main content
POST
Create destination

Authorizations

Authorization
string
header
required

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

Idempotency-Key
string

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.

Required string length: 1 - 255
Example:

"3f7d2c1a-9b4e-4f0a-8c6d-2e1b5a7c9d10"

Body

application/json

Operation input

name
string
required
Required string length: 1 - 255
url
string<uri>
required
Maximum string length: 4096
description
string | null
Maximum string length: 2000
method
enum<string>
default:POST
Available options:
POST,
PUT,
PATCH
headers
object

Write-only credential values. Omit on PATCH to preserve; supply an object to replace all headers; {} clears them.

auth_type
enum<string>
default:none
Available options:
none,
bearer,
basic,
custom
is_active
boolean
default:true
retry_enabled
boolean
default:false
max_retries
integer
default:3
Required range: 0 <= x <= 10
retry_strategy
enum<string>
default:exponential
Available options:
fixed,
linear,
exponential
retry_initial_delay_ms
integer
default:1000
Required range: 100 <= x <= 2147483647
retry_max_delay_ms
integer
default:30000
Required range: 1000 <= x <= 2147483647
timeout_ms
integer
default:10000
Required range: 1000 <= x <= 60000

Response

Operation result

name
string
required
Required string length: 1 - 255
url
string<uri>
required
Maximum string length: 4096
is_active
boolean | null
required
retry_enabled
boolean | null
required
max_retries
integer | null
required
retry_initial_delay_ms
integer | null
required
retry_max_delay_ms
integer | null
required
timeout_ms
integer | null
required
id
string<uuid>
required
organization_id
string<uuid>
required
headers
object
required

Header names only; all values are masked

created_by
string | null
required
created_at
string
required
updated_at
string
required
description
string | null
Maximum string length: 2000
method
enum<string>
default:POST
Available options:
POST,
PUT,
PATCH
auth_type
enum<string> | null
default:none
Available options:
none,
bearer,
basic,
custom
retry_strategy
enum<string> | null
default:exponential
Available options:
fixed,
linear,
exponential