Enspace
  1. Fields
Enspace
  • Introduction
  • Authentication
  • Concepts
  • First Steps
  • Workspaces
    • Types
      • Fields
        • List Fields
          GET
        • Create Field
          POST
        • Get Field
          GET
        • Field Updated
          PUT
        • Delete Field
          DELETE
      • Items
        • List Items
        • Create Item
        • Count Items
        • Get Item
        • Update Item
        • Delete item
      • List Types
        GET
      • Count Types
        GET
      • Get specific Type
        GET
      • Create Type
        POST
      • Update Type
        PUT
      • Delete Type
        DELETE
    • Members
      • List Members
      • Count Members
      • Get Member
      • New Member
      • Update Member
      • Remove Member
    • Roles
      • List roles
      • Create role
      • Get specific job title
      • Count positions
      • Update job title
      • Delete role
      • List Role Permissions
      • Add Permission to Role
      • Remove Role Permission
    • Member Groups
      • List groups
      • New group
      • Get group
      • Update group
      • Delete group
      • Add Users
      • Remove Users
    • List Workspaces
      GET
    • Workspace Context
      GET
    • New Workspace
      POST
    • Leave the workspace
      POST
    • Workspace Statistics
      GET
    • Workspace Deletion Preview
      GET
    • Delete Workspace
      DELETE
  • User
    • Audit Logs
    • List API Keys
  • Schemas
    • Schemas
      • Members
        • MemberUpdate
        • MemberCreate
        • Member
      • Roles
        • Role
        • RoleCreate
        • RoleUpdate
      • MemberGroups
        • MemberGroup
        • MemberGroupCreate
        • MemberGroupUpdate
      • Types
        • Type
        • TypeInput
        • TypeDetail
      • Items
        • Item
        • ItemInput
      • Workspace
        • WorkspaceContext
        • WorkspaceStats
        • Workspace
        • WorkspaceCreate
        • WorkspaceUpdate
      • User
      • RequestLog
      • UserApiKey
      • SuccessResponse
      • ErrorResponse
      • Field
      • FieldInput
      • Permission
      • PermissionInput
      • Error
    • Response
      • BadRequest
      • Unauthorized
      • Forbidden
      • NotFound
      • ServerError
  1. Fields

List Fields

Developing
Develop Env
https://api-develop.enspace.io
Develop Env
https://api-develop.enspace.io
GET
https://api-develop.enspace.io
/ws/types/{slug}/fields
Maintainer:Julio Cordeiro

List Fields#

Returns all fields configured for a specific Type.

Parameters#

slug (path) - Unique slug of the Type

Response#

Returns an array with all the Type's fields, ordered by position.

Example Response#

[
  {
    "id": 1,
    "name": "Product Name",
    "slug": "product_name",
    "label": "Product Name",
    "refId": "product_name",
    "type": "inputText",
    "required": true,
    "colorScheme": "primary",
    "width": "12",
    "user": 10,
    "created_at": "2025-06-25T13:53:46.206Z",
    "updated_at": "2025-06-25T13:53:46.217Z"
  },
  {
    "id": 2,
    "name": "Price",
    "slug": "price",
    "label": "Product Price",
    "refId": "price",
    "type": "EnlNumber",
    "required": true,
    "colorScheme": "primary",
    "width": "12",
    "user": 10,
    "created_at": "2025-06-25T13:53:46.206Z",
    "updated_at": "2025-06-25T13:53:46.217Z",
    "cFormat": {
            "locale": "pt-BR",
            "n_style": "decimal",
            "n_maximumFractionDigits": 2,
            "n_minimumFractionDigits": 0
        }
  }
]

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
API Key
Add parameter in header
en-workspace
Example:
en-workspace: ********************
or
Path Params

Responses

🟢200OK
application/json
List of Type Fields.
Body

🟠401Unauthorized
🟠404Record not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-develop.enspace.io/ws/types/produtos/fields' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>'
Response Response Example
200 - Example 1
{
    "id": 89,
    "name": "Referencia",
    "slug": "referencia",
    "refId": "referencia",
    "label": "Referencia do Produto",
    "type": "text",
    "required": true,
    "created_at": "2026-01-27T17:20:55.355Z",
    "updated_at": "2026-07-27T17:20:55.355Z",
    "width": "12",
    "user": 1
}
Previous
Fields
Next
Create Field
Built with