This endpoint retrieves a detailed list of forms configured in the system. Each form serves as a data collection interface linked to a specific item type. The response provides crucial metadata, including the unique identifier, name, publication status, and interface configurations such as layout and identification. Additionally, the object returns details regarding form visibility, the owner user, and the full properties of the related item type, ensuring the necessary context for data rendering and management.
curl --location --request GET 'https://api-develop.enspace.io/c-forms?__relations=item_type,user' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>'{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"item_type": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"description": {
"type": "string"
},
"icon": {
"type": "string"
},
"status": {
"type": "string"
},
"autoMenu": {
"type": "boolean"
},
"resumeExpression": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"view": {
"type": "object",
"x-apidog-orders": [],
"properties": {}
}
},
"x-apidog-orders": [
"id",
"name",
"slug",
"description",
"icon",
"status",
"autoMenu",
"resumeExpression",
"created_at",
"updated_at",
"view"
]
},
"visibility": {
"type": "string"
},
"layout": {
"type": "string"
},
"identification": {
"type": "string"
},
"migration_hash": {
"type": "string"
},
"show_screening": {
"type": "boolean"
},
"type": {
"type": "string"
},
"user": {
"type": "object",
"x-apidog-orders": [],
"properties": {}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"icon": {
"type": "string"
}
},
"x-apidog-orders": [
"id",
"name",
"status",
"item_type",
"visibility",
"layout",
"identification",
"migration_hash",
"show_screening",
"type",
"user",
"created_at",
"updated_at",
"icon"
]
}