v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Custom Fields

Get Custom Field from Selected Property

Retrieve a specific custom field for a select property using the custom field ID.

get/properties-api/custom-fields/{propertyId}/{fieldId}

Path parameters

propertyIdstring required

The Guesty property ID.

fieldIdstring required

The custom field ID.

Response

Returns the custom fields set on the specified property.

propertyIdstring
fieldIdstring
valuestring
fullTextstring

If the value is a long text, the response will return a truncated version, and the complete text will be stored successfully.

displayNamestring
keystring
typestring
optionsstring[]
objectstring

Custom field type

isPublicboolean

Example response

{
  "propertyId": "5aa90b5a23f67f001f4115b6",
  "fieldId": "5bf14ff5163f2e0037331fe1",
  "displayName": "Some Field",
  "key": "test",
  "type": "text",
  "options": [
    "value 1",
    "value 2"
  ],
  "isPublic": true,
  "value": "value 1"
}