Skip to main content
POST
Create a component

Authorizations

Authorization
string
header
required

An org API token (sv_…), sent as Authorization: Bearer <token>.

Headers

Idempotency-Key
string

Opt-in safe retries. Send a unique value (a UUID); a retry with the same key replays the first response (header Idempotent-Replayed: true) instead of acting twice. Reusing a key with a different body is rejected (400); a retry while the first is in flight gets 409. Scoped to the workspace, expires after 24h.

Maximum string length: 255

Body

application/json
name
string
required
Required string length: 1 - 120
displayOrder
integer
Required range: 0 <= x <= 10000

Response

The created component.

data
object