API reference
/- Get field schema for a record type
Create or update records (upsert)
Update records (fails if not found)
Delete (inactivate) records
List available record types
List all custom record types
Create a new custom record type
Get a custom record type by name
Update a custom record type
Deactivate a custom record type
Get field schema for a re...
🔐 Required role:
RECD_RorRECD_C📖 Data dictionary: Records and custom record types
Get field schema for a record type
Returns field definitions including types, validation, and foreign key relationships.
Business Applications:
- Dynamic form generation
- Field validation
- Integration mapping
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/api/v1/records/schema/{type}
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/records/schema/{type}
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/records/schema/{type}
curl -i -X GET \
'https://api.sandbox.aiwyn.app/api/v1/records/schema/{type}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'Response
{ "data": { "entityType": "string", "fields": [ … ] }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }