Object Type Management

createObjectType

Create a new custom object type.

Creates a new custom object type definition for the tenant. What is an Object Type? An object type is a schema definition (e.g., "Visa", "Invoice", "Travel Request") that defines what kind of custom objects can be created.

Parameters

NameTypeRequiredDescription
namestringYesDisplay name for the object type
descriptionstringNoOptional description
logo_urlstringNoOptional logo URL
iconobjectNo
display_id_prefixstringNoDisplay ID prefix for instances (e.g., "VEN" for Vendor → VEN-1).
scopeobjectNo
workspace_idintegerNoSource/primary workspace for WORKSPACE-scoped types. Required when scope=WORKSPACE.
workspace_idsinteger[]NoWorkspace IDs to tag this object type to for visibility/assignment.