Authorization: Bearer ********************{
"status": "success",
"message": "Fields with group fetched successfully",
"data": [
{
"id": 1,
"name": "Group 1",
"form_id": 1,
"order": 0,
"metadata": null,
"created_at": "2025-09-30T17:35:18.000000Z",
"updated_at": "2025-09-30T17:35:18.000000Z",
"fields": [
{
"id": 52,
"form_id": 1,
"label": "Full Name",
"type": "text",
"options": null,
"is_required": true,
"order": 1,
"created_at": "2025-10-20T19:32:24.000000Z",
"updated_at": "2025-10-20T19:32:24.000000Z",
"deleted_at": null,
"description": null,
"metadata": null,
"field_group_id": 1
},
{
"id": 49,
"form_id": 1,
"label": "Department",
"type": "select",
"options": [
"IT",
"HR",
"Finance",
"Marketing",
"Sales",
"Tech Business"
],
"is_required": true,
"order": 2,
"created_at": "2025-10-20T19:11:03.000000Z",
"updated_at": "2025-10-20T19:32:24.000000Z",
"deleted_at": null,
"description": null,
"metadata": {
"color": "red"
},
"field_group_id": 1
}
]
}
]
}