Skip to main content
POST
Create or update a workspace attribute

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer kai_live_....

Make and revoke keys in Kai, under Settings → API. Kai stores only a hash of the key, so the full key is shown one time.

Body

application/json
key
string
required
label
string
required
type
enum<string>
required
Available options:
text,
number,
boolean,
date,
select,
url,
email,
phone
description
string | null
options
string[]
position
integer

Response

The attribute was updated.

data
object