Skip to content
中文

Retrieve record layout

Code Mode: praxis.crm.layouts.retrieve

HTTP: GET /crm/v1/layouts/{objectType}

Read the shared record-page layout for an object type from schemas.list. Unlike HubSpot, CRM exposes this presentation as an API resource so people and agents can share the same record layout instead of relying on interface-only settings. The response orders summary tiles, sidebar properties and main-column sections.

Signature

praxis.crm.layouts.retrieve(args:{path:{objectType:string}}):Promise<{/** Object type whose record page uses this layout, matching the path parameter. e.g. "deals" */ objectType:string;/** Ordered statistic tiles below the record header, with at most three tiles. */ summary:Array<string|{/** Property shown as the numerator or progress value. */ property:string;/** Property supplying the denominator or total for the progress bar. */ of:string}>;/** Ordered internal property names shown in the record property sidebar. */ sidebar:Array<string>;/** Ordered main-column sections for activity, relationships, tables and property groups. */ sections:Array<string>}>;

Parameters

NameInTypeRequiredDescription
objectTypepathstringyesObject type name from schemas.list, such as contacts, companies, deals or a custom p_<name>.

Responses

StatusContent typesDescription
200application/jsonShared record layout.
400application/jsonVALIDATION_ERROR rejects invalid properties or stage rules; supply errors[0].context.properties when requirements are missing, or choose an allowed stage. BAD_REQUEST rejects malformed input; correct the request before retrying.
401application/jsonThe bearer credential is missing or invalid; provide a valid platform API key before retrying.
404application/jsonOBJECT_NOT_FOUND means an object type, record or definition is unavailable in your organization; select an accessible identifier from its list operation.