Skip to main content
GET
/
v2
/
options
/
{id}
Retrieve an Option
curl --request GET \
  --url https://api.fructu.co/v2/options/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "label": "<string>",
  "color": "<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

Option's unique id

Response

200 - application/json
id
string
required

Unique identifier of the option

label
string
required

Label displayed to the user

color
string
required

Hexadecimal color code for display

created_at
string<date-time>
required

Creation date and time (ISO 8601)