Workspace object settings (read-only)
Returns all object types with nested statuses and per-type custom field definitions. Use this to build object forms and integrations without admin object-type permissions.
GET
/workspace/object-settingsAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:reador
AuthorizationBearer token (JWT) · headerrequiredResponses
200
objectTypesObjectTypeDetailResponseDto[]requiredAll non-deleted object types with nested statuses and per-type custom field definitions (read-only bundle for forms and integrations).
Show propertiesHide properties
Array of
ObjectTypeDetailResponseDtocreatedAtstringrequiredcustomFieldsObjectCustomFieldInTypeDto[]requiredShow propertiesHide properties
Array of
ObjectCustomFieldInTypeDtodescriptionstringrequiredidstringrequirednamestringrequiredobjectTypeIdstringrequiredselectOptionsany[]requiredshowInHeaderbooleanrequiredshowInListbooleanrequiredsortnumberrequiredtranslationsany[]requiredtypestringrequirediconobject | nullrequiredidstringrequirednamestringrequiredslugstringrequiredsortnumberrequiredstatusesObjectStatusDto[]requiredShow propertiesHide properties
Array of
ObjectStatusDtocolorstringrequiredcreatedAtstringrequiredidstringrequirednamestringrequiredsortnumberrequired401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X GET "https://leadtime.app/api/public/workspace/object-settings" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/workspace/object-settings", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/workspace/object-settings",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"objectTypes": [
{
"createdAt": "string",
"customFields": [
{
"description": "string",
"id": "string",
"name": "string",
"objectTypeId": "string",
"selectOptions": [
null
],
"showInHeader": true,
"showInList": true,
"sort": 0,
"translations": [
null
],
"type": "string"
}
],
"icon": {},
"id": "string",
"name": "string",
"slug": "string",
"sort": 0,
"statuses": [
{
"color": "string",
"createdAt": "string",
"id": "string",
"name": "string",
"sort": 0
}
]
}
]
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions