---
updatedAt: 2026-09-30T09:44:43.000Z
agentTools:
  projectIndex: https://open-api-docs.guesty.com/llms.txt
---

# Get a custom field configuration

Retrieve a single custom field definition by its ID. The `field_id` is the `fieldId` value returned when listing or creating custom fields.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "GUESTY OPEN API",
    "description": "Guesty Open API documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://open-api.guesty.com/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Accounts"
    }
  ],
  "paths": {
    "/accounts/{id}/custom-fields/{field_id}": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "operationId": "accountsCustomFieldGet",
        "summary": "Get a custom field configuration",
        "description": "Retrieve a single custom field definition by its ID. The `field_id` is the `fieldId` value returned when listing or creating custom fields.",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Guesty account ID or `me`",
            "example": "5fa02fa358d2db673e17bc2d"
          },
          {
            "in": "path",
            "name": "field_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Custom field id",
            "example": "5dc03b42e28baf001e2b35d0"
          }
        ],
        "responses": {
          "200": {
            "description": "Custom Field",
            "content": {
              "application/json": {
                "schema": {
                  "description": "A custom field identified by `fieldId`. This is the shape returned by the GET, POST and PUT custom field endpoints.",
                  "allOf": [
                    {
                      "type": "object",
                      "description": "The stored properties of a custom field, shared by every representation the API returns.",
                      "properties": {
                        "displayName": {
                          "type": "string",
                          "description": "The internal variable name of the custom field. Read-only: it is derived by the server from `key` (trimmed, whitespace replaced with underscores, lowercased), so a value sent by the client is ignored."
                        },
                        "isPublic": {
                          "type": "boolean",
                          "description": "Indicates whether the custom field is visible to all users or only those with custom field permissions."
                        },
                        "isRequired": {
                          "type": "boolean",
                          "description": "Whether a value must be supplied for this field. Applies to reservation custom fields only — it is ignored for listing custom fields, which the Guesty UI always creates with `isRequired: false`."
                        },
                        "key": {
                          "type": "string",
                          "description": "The plain text display name of the custom field"
                        },
                        "object": {
                          "type": "string",
                          "enum": [
                            "listing",
                            "reservation"
                          ],
                          "description": "Whether the custom field is for listings or reservations"
                        },
                        "options": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Your custom list of options, for the `enum` field type. For `type: user` the system populates the options internally with the account's users, but this property is still returned as an empty array — an empty array here does not mean the account has no users."
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "boolean",
                            "contact",
                            "date",
                            "dayofweek",
                            "enum",
                            "longtext",
                            "number",
                            "text",
                            "time",
                            "user"
                          ],
                          "description": "The data type of the custom field. Indicates the type of content that can be input into the field. The \"Team member\" option in the Guesty UI creates a field of type `user` — there is no separate `team_member` type, and both produce the same result."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "fieldId": {
                          "type": "string",
                          "description": "The unique identifier of the custom field",
                          "example": "5dc03b42e28baf001e2b35d0"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "example": {
                    "error": {
                      "code": "UNAUTHORIZED",
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The token lacks the required custom field permission.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Forbidden"
                }
              }
            }
          },
          "404": {
            "description": "Not Found. The account or the custom field does not exist.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "examples": {
                  "fieldMissing": {
                    "summary": "The custom field id is not present on the account",
                    "value": "Custom field not found"
                  },
                  "accountMissing": {
                    "summary": "The account does not exist",
                    "value": "Account not found"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unhandled exception. Something went wrong on server.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Internal Server Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "authorization",
        "in": "header"
      }
    }
  },
  "x-kong-upstream-prefix": "/integrations/brands",
  "x-kong-route-transformations": [
    {
      "configuration": "v1",
      "routeExtpath": "/account-brands",
      "stripPrefix": "/v1/account-brands"
    }
  ]
}
```