This API endpoint allows you to get a specific flex field value for a vehicle.

Supported Formats

json

Errors

Code Description
404 Not found.
400 Bad request.
422 Unprocessable entity.
500 Internal server error.

Examples

curl "https://app.octopi.co/api/v1/vehicles/:vehicle_id/flex_fields/:flex_field_label.json" \
-X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Token token=YOUR_TOKEN"
{
  "flex_field": {
    "label": "color",
    "canonical_name": "color",
    "value": "blue"
  }
}

Params

Param name Description
vehicle_id
required

The Octopi ID of the vehicle.

Validations:

  • Must be a String

label
required

The label of the flex field.

Validations:

  • Must be a String