Add contact person to a profile (group, company, or travel agent)Ask AIpost https://api.cloudbeds.com/group-profile/v1/contact-personsBody ParamsprofileIdint64Optional profile ID to link this contact person to a specific profile (group, company, or travel agent)isMainContactbooleanDefaults to falseWhether this is the main contact (stored in profile-person relationship, requires profileId)truefalserolestringenumRole of the contact person (stored in profile-person relationship, requires profileId)BOOKING_COORDINATORBOOKING_COORDINATORONSITE_COORDINATORROOMING_LIST_CONTACTACCOUNTS_PAYABLEBILLINGINVOICINGACCOUNT_MANAGERSALES_LEADTRAVEL_AGENT_ACCOUNT_MANAGERCORPORATE_CONTACTAUTHORIZED_SIGNEREXECUTIVE_APPROVERMARKETINGMAIN_POINT_OF_CONTACTADMINISTRATIVEOTHERShow 16 enum valuesanonymizedbooleanDefaults to falseWhether the contact is anonymizedtruefalseprefixstringlength ≤ 5Name prefix (Mr., Mrs., Dr., etc.)firstNamestringrequiredlength ≤ 100First namelastNamestringrequiredlength ≤ 100Last nameemailsarray of objectsEmail addresses with typesemailsADD objectphonesarray of objectsPhone numbers with typesphonesADD objectstatusstringrequiredContact person status. Allowed values are ACTIVE, DELETEDbillingDetailsobjectBilling details for profiles and contact personsbillingDetails objectHeadersx-property-idint64Property IDx-organization-idint64requiredOrganization IDResponses 201Contact person added successfully 400Bad request 401Unauthorized 403Forbidden 404Profile not found 422Unprocessable EntityUpdated 4 months ago