Hostfully Custom Data API

The Custom Data API from Hostfully — 1 operation(s) for custom data.

GitHub OpenAPI

Operations 3

GET /api/v3.3/custom-data Get the custom data #
POST /api/v3.3/custom-data Create custom data #
DELETE /api/v3.3/custom-data Delete custom data #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hostfully:hostfully-custom-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hostfully-custom-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostfully Custom Data API
  license:
    name: Apache 2.0
    url: https://www.hostfully.com/
  version: v3.0.1
servers:
- url: https://sandbox-api.hostfully.com
security:
- JWT-Authentication: []
- Agency-API-key: []
tags:
- name: Custom Data
paths:
  /api/v3.3/custom-data:
    get:
      tags:
      - Custom Data
      summary: Get the custom data
      description: Fetches all custom data for either a property or a lead. Exactly one of 'propertyUid' or 'leadUid' must be provided. For leads that are main leads in a group booking, authorization is done by the multi-unit property or master unit to which the main lead is attached to.
      operationId: getAll_19
      parameters:
      - name: propertyUid
        in: query
        required: false
        schema:
          type: string
      - name: leadUid
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomDataApi3ResponseWrapperCustomDataApi3_1Dto'
    post:
      tags:
      - Custom Data
      summary: Create custom data
      description: Adds or updates a custom data entry for a specific property or lead.
      operationId: post_16
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomDataAddingApi3Dto'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CustomDataApiResponseWrapperCustomDataApi3_1Dto'
    delete:
      tags:
      - Custom Data
      summary: Delete custom data
      description: Deletes a custom data entry linked to a property or lead. The field is identified by 'customDataFieldUid'. Exactly one of 'propertyUid' or 'leadUid' must be provided.
      operationId: delete_15
      parameters:
      - name: propertyUid
        in: query
        required: false
        schema:
          type: string
      - name: leadUid
        in: query
        required: false
        schema:
          type: string
      - name: customDataFieldUid
        in: query
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
components:
  schemas:
    Api3ResponseMetadata:
      type: object
      properties:
        count:
          type: integer
          format: int32
        totalCount:
          type: integer
          format: int32
    CustomDataApi3ResponseWrapperCustomDataApi3_1Dto:
      type: object
      properties:
        customData:
          type: array
          items:
            $ref: '#/components/schemas/CustomDataApi3_1Dto'
        _metadata:
          $ref: '#/components/schemas/Api3ResponseMetadata'
    CustomDataAddingApi3Dto:
      required:
      - customDataFieldUid
      - text
      type: object
      properties:
        text:
          maxLength: 4096
          minLength: 0
          type: string
        customDataFieldUid:
          type: string
        propertyUid:
          type: string
          description: Either provide propertyUid, or leadUid
        leadUid:
          type: string
          description: Either provide propertyUid, or leadUid
    CustomDataApiResponseWrapperCustomDataApi3_1Dto:
      type: object
      properties:
        customData:
          $ref: '#/components/schemas/CustomDataApi3_1Dto'
    CustomDataFieldOptionDto:
      type: object
      properties:
        uid:
          type: string
        optionText:
          type: string
        optionValue:
          type: string
        sortOrder:
          type: integer
          format: int32
        active:
          type: boolean
    CustomDataFieldApi3Dto:
      type: object
      properties:
        agencyUid:
          type: string
        uid:
          type: string
        type:
          type: string
          enum:
          - TEXT
          - LONG_TEXT
          - SINGLE_SELECT
        name:
          type: string
        variable:
          type: string
        index:
          type: integer
          format: int32
        minAgeToShow:
          type: integer
          format: int32
        subType:
          type: string
          enum:
          - PRIMARY_GUEST_INFORMATION
          - OTHER_GUEST_INFORMATION
          - ADDITIONAL_GUEST_INFORMATION
          - ARRIVAL_INFORMATION
          - OTHER
        usage:
          type: string
          enum:
          - CUSTOM_VARIABLES
          - PRE_ARRIVAL_FORM
          - OTHER
        isOptional:
          type: boolean
        isActive:
          type: boolean
        options:
          type: array
          items:
            $ref: '#/components/schemas/CustomDataFieldOptionDto'
    CustomDataApi3_1Dto:
      type: object
      properties:
        text:
          type: string
        customDataField:
          $ref: '#/components/schemas/CustomDataFieldApi3Dto'
        propertyUid:
          type: string
        leadUid:
          type: string
        unitUid:
          type: string
  securitySchemes:
    JWT-Authentication:
      type: apiKey
      description: OAuth Access Token
      name: Authorization
      in: header
    Agency-API-key:
      type: apiKey
      description: API Key
      name: X-HOSTFULLY-APIKEY
      in: header
externalDocs:
  description: Hostfully Documentation
  url: https://dev.hostfully.com/v3.0/reference
x-readme:
  explorer-enabled: true
  proxy-enabled: true