---
title: "Create guest"
method: POST
path: "/guests-crud"
tags: ["Guests"]
---

# Create guest

`POST /guests-crud`

Create guest

## Request body

- object
  - `firstName` string, required
  - `lastName` string, required
  - `hometown` string
  - `address` object
    - `street` string — The street address, including the house number and street name. It can also be a PO Box
    - `zipCode` string — The postal code or ZIP code of the address
    - `state` string — The state or province name
    - `city` string — The name of the city/town/village
    - `country` string — The [full name](https://www.iban.com/country-codes) of the country
    - `countryCode` string — The two-letter [ISO 3166 Alpha-2](https://www.iban.com/country-codes) country code
  - `picture` object — A link to guest’s picture in different sizes
  - `email` string — The main contact email of the guest
  - `emails` string[] — List of additional emails of the guest
  - `phone` string — The main contact phone number
  - `phones` string[] — List of additional phone numbers of the guest
  - `notes` string — Attention notes about the guest, describing important pieces of information about the guest, to review for all reservations (e.g. “Requires accessibility equipment”). Displayed as “Attention notes” in the user interface.
  - `contactType` 'guest' | 'owner'
  - `tags` string[] — Tags for describing the guest at a glance + show the enum for the field to show the allowed options
  - `goodToKnowNotes` string — “Good to know” notes about the guest. Notes to help capture facts about the guest that will help the team to personalize the guest’s stays (e.g. “Big football fan”)
  - `preferredLanguage` 'en' | 'es' | 'fr' | 'ma' | 'aa' | 'ab' | 'ae' | 'af' | 'ak' | 'am' | 'an' | 'ar' | 'as' | 'av' | 'ay' | 'az' | 'ba' | 'be' | 'bg' | 'bh' | 'bi' | 'bm' | 'bn' | 'bo' | 'br' | 'bs' | 'ca' | 'ce' | 'ch' | 'co' | 'cr' | 'cs' | 'cu' | 'cv' | 'cy' | 'da' | 'de' | 'dv' | 'dz' | 'ee' | 'el' | 'eo' | 'et' | 'eu' | 'fa' | 'ff' | 'fi' | 'fj' | 'fo' | 'fy' | 'ga' | 'gd' | 'gl' | 'gn' | 'gu' | 'gv' | 'ha' | 'he' | 'hi' | 'ho' | 'hr' | 'ht' | 'hu' | 'hy' | 'hz' | 'ia' | 'id' | 'ie' | 'ig' | 'ii' | 'ik' | 'io' | 'is' | 'it' | 'iu' | 'ja' | 'jv' | 'ka' | 'kg' | 'ki' | 'kj' | 'kk' | 'kl' | 'km' | 'kn' | 'ko' | 'kr' | 'ks' | 'ku' | 'kv' | 'kw' | 'ky' | 'la' | 'lb' | 'lg' | 'li' | 'ln' | 'lo' | 'lt' | 'lu' | 'lv' | 'mg' | 'mh' | 'mi' | 'mk' | 'ml' | 'mn' | 'mr' | 'ms' | 'mt' | 'my' | 'na' | 'nb' | 'nd' | 'ne' | 'ng' | 'nl' | 'nn' | 'no' | 'nr' | 'nv' | 'ny' | 'oc' | 'oj' | 'om' | 'or' | 'os' | 'pa' | 'pi' | 'pl' | 'ps' | 'pt' | 'qu' | 'rm' | 'rn' | 'ro' | 'ru' | 'rw' | 'sa' | 'sc' | 'sd' | 'se' | 'sg' | 'si' | 'sk' | 'sl' | 'sm' | 'sn' | 'so' | 'sq' | 'sr' | 'ss' | 'st' | 'su' | 'sv' | 'sw' | 'ta' | 'te' | 'tg' | 'th' | 'ti' | 'tk' | 'tl' | 'tn' | 'to' | 'tr' | 'ts' | 'tt' | 'tw' | 'ty' | 'ug' | 'uk' | 'ur' | 'uz' | 've' | 'vi' | 'vo' | 'wa' | 'wo' | 'xh' | 'yi' | 'yo' | 'za' | 'zh' | 'zu'
  - `birthday` string, date-time
  - `gender` 'male' | 'female' | 'other'
  - `maritalStatus` 'single' | 'married' | 'widowed' | 'separated' | 'divorced'
  - `dietaryPreferences` string[] — You can pick one of the predefined options, or create a new one for your account
  - `allergies` string[] — You can pick one of the predefined options, or create a new one for your account
  - `interests` string[] — You can pick one of the predefined options, or create a new one for your account
  - `pronouns` 'he/him/his' | 'she/her/hers' | 'they/them/their' | 'xe/xem/xyr'
  - `kids` number
  - `passportNumber` string
  - `identityNumber` string — Identity Card Number
  - `nationality` 'af' | 'ax' | 'al' | 'dz' | 'as' | 'ad' | 'ao' | 'ai' | 'aq' | 'ag' | 'ar' | 'am' | 'aw' | 'au' | 'at' | 'az' | 'bs' | 'bh' | 'bd' | 'bb' | 'by' | 'be' | 'bz' | 'bj' | 'bm' | 'bt' | 'bo' | 'bq' | 'ba' | 'bw' | 'bv' | 'br' | 'io' | 'bn' | 'bg' | 'bf' | 'bi' | 'kh' | 'cm' | 'ca' | 'cv' | 'ky' | 'cf' | 'td' | 'cl' | 'cn' | 'cx' | 'cc' | 'co' | 'km' | 'cg' | 'cd' | 'ck' | 'cr' | 'ci' | 'hr' | 'cu' | 'cw' | 'cy' | 'cz' | 'dk' | 'dj' | 'dm' | 'do' | 'ec' | 'eg' | 'sv' | 'gq' | 'er' | 'ee' | 'et' | 'fk' | 'fo' | 'fj' | 'fi' | 'fr' | 'gf' | 'pf' | 'tf' | 'ga' | 'gm' | 'ge' | 'de' | 'gh' | 'gi' | 'gr' | 'gl' | 'gd' | 'gp' | 'gu' | 'gt' | 'gg' | 'gn' | 'gw' | 'gy' | 'ht' | 'hm' | 'va' | 'hn' | 'hk' | 'hu' | 'is' | 'in' | 'id' | 'ir' | 'iq' | 'ie' | 'im' | 'il' | 'it' | 'jm' | 'jp' | 'je' | 'jo' | 'kz' | 'ke' | 'ki' | 'kp' | 'kr' | 'xk' | 'kw' | 'kg' | 'la' | 'lv' | 'lb' | 'ls' | 'lr' | 'ly' | 'li' | 'lt' | 'lu' | 'mo' | 'mk' | 'mg' | 'mw' | 'my' | 'mv' | 'ml' | 'mt' | 'mh' | 'mq' | 'mr' | 'mu' | 'yt' | 'mx' | 'fm' | 'md' | 'mc' | 'mn' | 'me' | 'ms' | 'ma' | 'mz' | 'mm' | 'na' | 'nr' | 'np' | 'nl' | 'an' | 'nc' | 'nz' | 'ni' | 'ne' | 'ng' | 'nu' | 'nf' | 'mp' | 'no' | 'om' | 'pk' | 'pw' | 'ps' | 'pa' | 'pg' | 'py' | 'pe' | 'ph' | 'pn' | 'pl' | 'pt' | 'pr' | 'qa' | 're' | 'ro' | 'ru' | 'rw' | 'bl' | 'sh' | 'kn' | 'lc' | 'mf' | 'pm' | 'vc' | 'ws' | 'sm' | 'st' | 'sa' | 'sn' | 'rs' | 'cs' | 'sc' | 'sl' | 'sg' | 'sx' | 'sk' | 'si' | 'sb' | 'so' | 'za' | 'gs' | 'ss' | 'es' | 'lk' | 'sd' | 'sr' | 'sj' | 'sz' | 'se' | 'ch' | 'sy' | 'tw' | 'tj' | 'tz' | 'th' | 'tl' | 'tg' | 'tk' | 'to' | 'tt' | 'tn' | 'tr' | 'tm' | 'tc' | 'tv' | 'ug' | 'ua' | 'ae' | 'gb' | 'us' | 'um' | 'uy' | 'uz' | 'vu' | 've' | 'vn' | 'vg' | 'vi' | 'wf' | 'eh' | 'ye' | 'zm' | 'zw'
  - `otaLinks` object[] — A link to the guest’s profile on an OTA
    - `type` 'airbnb'
    - `url` 'https://www.airbnb.com' — The url must include “https://” prefix

## Response `200`

The guest has been successfully created.

- object
  - `_id` string, required
  - `firstName` string, required
  - `lastName` string, required
  - `fullName` string
  - `hometown` string
  - `createdAt` string, date-time
  - `address` object
  - `picture` object — A link to guest’s picture in different sizes
  - `email` string — The main contact email of the guest
  - `emails` string[] — List of additional emails of the guest
  - `phone` string — The main contact phone number
  - `phones` string[] — List of additional phone numbers of the guest
  - `notes` string — Attention notes about the guest, describing important pieces of information about the guest, to review for all reservations (e.g. “Requires accessibility equipment”)
  - `tags` string[] — Tags for describing the guest at a glance + show the enum for the field to show the allowed options
  - `goodToKnowNotes` string — “Good to know” notes about the guest. Notes to help capture facts about the guest that will help the team to personalize the guest’s stays (e.g. “Big football fan”)
  - `preferredLanguage` string
  - `birthday` string, date-time
  - `gender` string
  - `maritalStatus` string
  - `dietaryPreferences` string[] — You can pick one of the predefined options, or create a new one for your account
  - `allergies` string[] — You can pick one of the predefined options, or create a new one for your account
  - `interests` string[]
  - `pronouns` string
  - `otaLinks` object[] — A link to the guest’s profile on an OTA
    - `type` 'airbnb'
    - `url` 'https://www.airbnb.com' — The url must include “https://” prefix
  - `kids` number
  - `passportNumber` string
  - `identityNumber` string
  - `nationality` string
  - `contactType` string
  - `airbnb2` object
  - `rentalsUnited` object
  - `bookingCom` object
  - `homeAway` object
  - `tripAdvisor` object
  - `policy` object
  - `returningGuest` boolean, required

## Other responses

- `201`
- `401` — Can not create guest, unauthorized

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
