Skip to main content

Introduction

OneS1ght provides an Open API that allows you to securely connect data from your operational services without additional development and obtain innovative marketing strategies through proprietary analytics models. It supports a wide range of platforms including Web, mobile applications (iOS / Android), and POS systems.

Base URL

https://api.ones1ght.com
All endpoints are based on the Base URL above. Example: https://api.ones1ght.com/v1/profile

API Key

Key TypePrefixPurpose
Client SDKosk_API key used in iOS, Android, and Web applications for per-user data communication.
For detailed issuance/management, see the Authentication page.

Common API

FeatureDescriptionEndpointLink
API Key ValidationCheck key status / expiration / typeGET /v1/validationDocs

Client SDK API

Profile-based conversational AI endpoints.

Profile management

FeatureDescriptionEndpoint
Create ProfileCreate a profile for AI personalizationPOST /v1/profile
Get ProfileRetrieve profile informationGET /v1/profile/{profile_id}
Update ProfileUpdate profile informationPUT /v1/profile/{profile_id}
Delete ProfileDelete a profileDELETE /v1/profile/{profile_id}
Profile eventsList SDK events accumulated on this profileGET /v1/profile/{profile_id}/events

Recommendation (async + polling)

FeatureDescriptionEndpoint
Kickoff RecommendationFire-and-forget (~100ms immediate response)POST /v1/chat/{profile_id}/recommend
List ChatsPaged history of past chatsGET /v1/chat/{profile_id}/recommend
Chat DetailPolling target — returns rounds[]GET /v1/chat/{profile_id}/recommend/{chat_id}
Single RoundFetch just one roundGET /v1/chat/{profile_id}/recommend/{chat_id}/{round_id}
Barcode BundleRound products with EAN-13 PNG (base64)GET /v1/chat/{profile_id}/recommend/{chat_id}/{round_id}/barcodes

Triggers (event emission)

FeatureDescriptionEndpoint
Signage ads triggerSignage enter / exit (action: enter / exit)POST /v1/chat/{profile_id}/trigger/signage
Coupon issued/usedCoupon issued / redeemed / dismissed logPOST /v1/chat/{profile_id}/trigger/coupon
Recommendation impressionPer-item recommended_items[] impression / tapPOST /v1/chat/{profile_id}/trigger/recommend
See the Profile Chat page for details.

Authentication

All Open API requests require an Authorization: Bearer {API_KEY} header. See the Authentication page for details.

Model Isolation

AI models used in the Open API are managed separately from tenant chat models. Models created with the Open API type in the admin panel are only accessible from external apps.