Skip to main content
GET
/
v2
/
fields
/
{id}
Retrieve a Field
curl --request GET \
  --url https://api.fructu.co/v2/fields/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "slug": "<string>",
  "name": "<string>",
  "type": "<string>",
  "options": [
    {
      "id": "<string>",
      "label": "<string>"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
id
string
required

Unique identifier of the field

slug
string
required

Identifier used in API requests and responses.

name
string
required

Label displayed in the UI

type
string
required

Data type: "text", "number", "date", "boolean", "select", "multi_select", "relation", "pipeline".

options
object[]
required

List of options available for this field (if type = select, multi_select, pipeline)

created_at
string<date-time>
required

Creation date and time (ISO 8601)