Skip to main content
POST
Error

Authorizations

authorization
string
header
required
X-Workspace-ID
string
header
required

Body

application/json

Settings depend on request_type — project_items_edit takes column_slugs and editable_column_slugs; purchase_order_edit takes header_fields and item_fields (validated like a request's settings).

request_type
enum<string>
required
Available options:
project_items_edit,
purchase_order_edit
name
string
required
message
string | null
expires_in_days
integer | null
Required range: 1 <= x <= 365
is_default
boolean
column_slugs
string[]
editable_column_slugs
string[]
header_fields
string[]
item_fields
string[]

Response

Created

Predefined settings for new collaboration requests of one type. The type's settings are at the top level, under the keys a request takes them — project_items_edit has column_slugs and editable_column_slugs, purchase_order_edit has header_fields and item_fields.

id
integer
required
request_type
enum<string>
required
Available options:
project_items_edit,
purchase_order_edit
name
string
required
is_default
boolean
required

Applied when the share dialog opens. At most one per type.

message
string | null
expires_in_days
integer | null

A new request expires this many days after it's created; null = no expiry.

column_slugs
string[]

project_items_edit only.

editable_column_slugs
string[]

project_items_edit only.

header_fields
string[]

purchase_order_edit only.

item_fields
string[]

purchase_order_edit only.

created_at
string<date-time>
updated_at
string<date-time>