Skip to content

List All Custom Attributes

GET/v1/custom-attributes

Returns custom attribute definitions for the workspace, ordered by created_at descending.

Query Parameters

pageinteger
Example:1
per_pageinteger
Example:25
qstring

Search by display_name or key

Example:department

Responses

Body

success_codeenum: 200 | 201•Numeric success code matching the HTTP response status. required
Example:200
messagestring required
Example:OK
detailsobject required
dataarray[object] required
idstring (ulid) required
Example:01HXYZABCDEFGHJKLMNPQRSTUV
display_namestring required
Example:Department
description[ "string", "null" ]
Example:Contact department
keystring required
Example:department
typeenum: text | number | list required
Example:text
list_valuesarray[string]•Present when type is list
Example:[ "sales", "support" ]
created_atstring (date-time) required
updated_atstring (date-time) required
metaobject required
current_pageinteger
Example:1
per_pageinteger
Example:25
totalinteger
Example:1
last_pageinteger
Example:1
linksobject
first[ "string", "null" ]
last[ "string", "null" ]
prev[ "string", "null" ]
next[ "string", "null" ]
error_codeinteger•Numeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobject•Validation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeinteger•Numeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobject•Validation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeinteger•Numeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobject•Validation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeinteger•Numeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobject•Validation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required