Create Tag

Create a new property tag. Optionally pre-attach properties via property_ids and / or room types via room_type_ids. The name must be unique within the operator's account (soft-deleted same-name tags are restored). Color is auto-assigned from the Hostex palette unless one of the allowed hex strings is supplied. Operators are capped at 500 property tags.

Body Params
string
required
length ≤ 15

Tag display name. Max 15 characters. Must be unique within the operator's account.

string
enum

Hex color string. Auto-assigned from the palette when omitted.

Allowed:
property_ids
array of integers

Optional list of property ids to attach to the new tag.

property_ids
room_type_ids
array of integers

Optional list of room type ids to attach to the new tag.

room_type_ids
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json