Tiquo
Integrations OverviewAirtableAsanaSlackGoogle AnalyticsMetabaseMixpanelPendoSegmentTableau (PAT)ActiveCampaignBrevoEmarsys Core API (WSSE)EventbriteFacebookGoogle AdsHighLevelInstagramKlaviyoMailchimpMailgunMicrosoft AdsSendGridTwitter (v2)HubSpotNotionAcuity SchedulingAirtable (Personal Access Token)BasecampCal.com (v2)CalendlyClickUpCodaConfluence Data CenterExpensifyGoogle CalendarGoogle SheetHarvestLinearMicrosoft Power BIMicrosoft TeamsMindbodyMondayOpenAIPerplexityPingboardPivotal TrackerProductboardQuickbaseServiceM8ServiceNowTeamworkTickTickTimelyTodoistTrafftTrelloWrikefal.aixAIZendeskIntercomAircall (OAuth)DixaFreshDeskFreshserviceFrontPlainRingCentralZoho DeskBrazeDialpadGoogleMicrosoftOutlookPodiumSednaSharePoint OnlineTwilioWhatsApp BusinessZoho MailBambooHRADPDeelEmployment HeroGustoHibob Service UserNamelyOracle Fusion Cloud (HCM)PaychexPayfitPaylocityPersonioRipplingSAP SuccessFactorsSage HRTSheetsUKG ProUKG ReadyWorkdayZoho PeopleQuickBooksBuildiumExact OnlineFreshBooksIntuitNetSuitePennylaneSageSage IntacctTwinfieldUnanetWave AccountingXeroZoho BooksSalesforceAffinityAttioCopperFreshsalesGainsight CCInsightlyKustomerMedalliaPipedriveTwenty CRMZoomInfoApaleoMewsMicrosoft Business CentralOdooSAP ConcurZuoraAcceloCoupa CompassZoho InvoiceAnrokAvalaraDocuSignDropbox SignPandadocSignNowLinkedInSplitwiseTikTok AdsJotformQualtricsRefinerTypeformShopifyCin7 CoreGoogle MapsRingoverListrakRydooTalentLMSApple Business ManagerCrunchbaseRocketReachOcean.ioFreepikEnergy Performance Certificates (Gov.UK)JustworksGristSAP S/4HANA Cloud3CX8x8Adobe CommerceBirdCloudbedsConstant ContactBufferCustomer.ioCrispFreeAgentGreenhouseMeta Marketing APIMollienocrm.ioOomnitzaDigitsPylonSage 200ShopwareAnvilShippoEasyPostAltrataMicrosoft PeopleMicrosoft IntuneCloudTalkGoogle FormsMaximizerMicrosoft PlannerSalesmsgSellercloudTallyTimifyUpsalesCleverReachHeymarketMailjetPleoProvenExpertTelegramToggl TrackASSA ABLOY Vingcard VisionlineASSA ABLOY Vingcard VostioASSA ABLOY TESA HotelASSA ABLOY SMARTairSalto KSSalto Space OnlineDormakabaOmnitecHotekTT LockWebLockISEOKleverKeyAperioISONASHIDSouthcoThird MillenniumSTidAxis CommunicationsBooking.comExpediaHotels.comAirbnbGoogle HotelsTripadvisorAgodaHotelbedsTravelgateXHyperguestRoibosReconlineTraviaOpenGDS.comMG BedbankDidatravelHotelREZHRSHotelnetworkGetaroomWinkBookeasyVRBOInntopiaHookusbookusHipcampSpot2niteCamping VisionMinistry of VillasTrip.comTravelokaTiketMakeMyTripHoteripKlookeDreamsSzallasEmerging Travel GroupCheck24Bed-and-Breakfast.itWorld2Meet (W2M)Ctoutvert / SecureholidayDespegarPriceTravelRoombeastMitchell CorpHRS AustraliaResonlineHostelworldHostelhopTablet MichelinMr & Mrs SmithHopperHotel TonightPitchupMoveriiLocalOTAAlaricBooknpayCultbookingGuestTractionLevartWeSpeakMake.comZapierPricelabsPricepointRategenieElastic HotelRoom Price GenieTurbosuiteUber EatsDeliverooDoorDashBolt Food
API and AuthenticationDOM Package

DOM Package Overview

What the Tiquo DOM Package provides

The Tiquo DOM Package (@tiquo/dom-package) is a headless JavaScript SDK for browser-based Tiquo integrations. It provides customer authentication, first-party website analytics, customer data helpers, custom service catalogs, customer-flow and membership embeds, locked service-booking embeds, session management, and WebView token handoff.

Headless means that the SDK supplies authentication, data, and integration methods rather than finished page components. Your application owns forms, cards, navigation, loading states, errors, and profile pages. Tiquo supplies its own transactional interface only inside hosted customer-flow, service-booking, and membership iframes.

Use the DOM Package when you control the JavaScript build for your website or app and want a typed SDK that works directly with the Customer API.

New integrations should import Tiquo as the main SDK class. Specialist exports such as TiquoAnalytics and TiquoPhone are available for analytics-only setups and phone number utilities, while TiquoAuth remains as a backwards-compatible alias for older authentication integrations.

What It Provides

AreaDescription
SetupInstall the package, get a public key, and initialize the SDK
Customer AuthenticationSign customers in with an email OTP flow
Website AnalyticsTrack first-party pageviews, custom events, and known-customer activity
Customer DataFetch and update customer profile, orders, bookings, enquiries, receipts, and companies
Service Catalogs and Locked BookingLoad a customer flow's services, build custom catalog and detail pages, and embed booking for one selected service
Embeds and MembershipsEmbed customer flows and public membership signup, pass signed-in sessions securely, and understand membership listing behavior
Session ManagementHandle auth state changes, logout, token refresh, multi-tab sync, and cleanup
Framework IntegrationConnect the headless SDK to React or another reactive UI framework
Utilities and ErrorsNormalize international phone numbers and handle typed SDK errors
WebView IntegrationPass native app tokens into a WebView-hosted page
Dashboard ConfigurationConfigure public keys, website domains, OTP sender details, and session behavior

DOM Package, Hosted Package, and hosted iframes

These are related integration layers, but they are not interchangeable:

LayerHow it is addedWhat it provides
DOM PackageInstall @tiquo/dom-package from npm and call typed JavaScript methodsHeadless authentication, data, analytics, token, catalog, and embed helpers for applications with a build step
Hosted PackageAdd the Tiquo hosted script and data-tiquo-* HTML attributesDeclarative authentication and customer-data behavior for Webflow and other site builders
Hosted customer flowAdd a Tiquo iframe directly or create it with a DOM or Hosted Package embed helperTiquo's transactional UI for booking or membership signup

Seeing a Tiquo iframe on a page does not mean the page uses the Hosted Package. Both packages can create and authenticate the same hosted flows, but the npm SDK and hosted script are separate delivery methods with different public APIs.

Method index

AreaMain DOM Package methods
AuthenticationsendOTP(), verifyOTP(), getUser(), isAuthenticated(), logout()
Customer dataupdateProfile(), uploadProfilePhoto(), getOrders(), getBookings(), getUpcomingBookings(), getReceipt(), downloadBookingTicket(), getEnquiries(), createEnquiry(), getCompanies(), getCompanyColleagues()
Service catalogsgetFlowServices(), getFlowService()
EmbedsembedCustomerFlow(), embedServiceBooking(), embedMembership(), getIframeToken()
Sessions and external tokensonAuthStateChange(), getAccessToken(), getRefreshToken(), initWithTokens(), destroy()
Analyticstiquo.analytics, TiquoAnalytics
UtilitiesTiquoPhone, TiquoAuthError

The npm DOM Package does not currently provide a typed getMemberships() helper. Use a known public plan ID with embedMembership(), call the authenticated Customer API memberships endpoint, or use the Hosted Package membership collections.

Sur cette page