Fields
Retrieve all fields in a workspace.
All fields in a workspace.
The ID of the field.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe field's key.
company_nameThe field's name.
Company NameThe type of the field.
Extra information about the field.
Timestamp of when the field was created.
2025-01-01T00:00:00.000ZTimestamp of when the field was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
GET /api/v1/fields HTTP/1.1
Accept: */*
[
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"workspace_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"key": "company_name",
"name": "Company Name",
"type": "TEXT",
"details": {},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]Retrieve a field by its ID.
A field.
The ID of the field.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe field's key.
company_nameThe field's name.
Company NameThe type of the field.
Extra information about the field.
Timestamp of when the field was created.
2025-01-01T00:00:00.000ZTimestamp of when the field was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
GET /api/v1/fields/{fieldId} HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"workspace_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"key": "company_name",
"name": "Company Name",
"type": "TEXT",
"details": {},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Create a new custom field.
The field's key, used for internal purposes.
company_nameThe field's name, used for display purposes.
Company NameThe type of the field.
The field that was created.
The ID of the field.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe field's key.
company_nameThe field's name.
Company NameThe type of the field.
Extra information about the field.
Timestamp of when the field was created.
2025-01-01T00:00:00.000ZTimestamp of when the field was last updated.
2025-01-01T00:00:00.000ZData is invalid or malformed.
The user is not authenticated.
The user does not have permission to perform this operation.
A field with the specified key already exists.
POST /api/v1/fields HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"key": "company_name",
"name": "Company Name",
"type": "TEXT"
}{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"workspace_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"key": "company_name",
"name": "Company Name",
"type": "TEXT",
"details": {},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Update a field.
The field that was updated.
The ID of the field.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe field's key.
company_nameThe field's name.
Company NameThe type of the field.
Extra information about the field.
Timestamp of when the field was created.
2025-01-01T00:00:00.000ZTimestamp of when the field was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
PATCH /api/v1/fields/{fieldId} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"workspace_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"key": "company_name",
"name": "Company Name",
"type": "TEXT",
"details": {},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Delete a field.
The field that was deleted.
The ID of the field.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe ID of the workspace.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe field's key.
company_nameThe field's name.
Company NameThe type of the field.
Extra information about the field.
Timestamp of when the field was created.
2025-01-01T00:00:00.000ZTimestamp of when the field was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
DELETE /api/v1/fields/{fieldId} HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"workspace_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"key": "company_name",
"name": "Company Name",
"type": "TEXT",
"details": {},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Last updated