Skip to content

Get a custom record type by name

Request

🔐 Required role: CUSTYP_R or CUSTYP_C

📖 Data dictionary: Records and custom record types

Get a custom record type by name

Returns the full definition of a custom record type including its field schema.

A name that is unknown, or that names a built-in (non-custom) record type, answers 404.

Business Applications:

  • View record type schema
  • Integration setup
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
Path
namestringrequired

Name of the custom record type.

curl -i -X GET \
  'https://api.sandbox.aiwyn.app/api/v1/records/custom/{name}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'

Responses

Record type retrieved successfully

Bodyapplication/json
dataobject
errorobject or null
metaobject
Response
{ "data": { "id": 0, "name": "string", "displayName": "string", "description": "string", "isCustom": true, "active": true, "fields": [ … ], "recordsUrl": "string", "schemaUrl": "string" }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }