ONEKEYSTAYS

API ONEKEYSTAYS

Autenticazione: Authorization: Bearer <JWT> oppure X-API-Key: okst_…. Webhook firmati con X-OneKeyStays-Signature. Catalogo eventi: /api/v1/events.

MetodoPercorsoAccessoPermessoNote
GET/api/public/checkin/{token}public
POST/api/public/checkin/{token}public
POST/api/public/checkin/{token}/documentpublic
POST/api/public/{org}/bookpublic
GET/api/public/{org}/propertiespublic
GET/api/public/{org}/searchpublic
GET/api/v1/api-keysuserapikeys:read
POST/api/v1/api-keysuserapikeys:write
DELETE/api/v1/api-keys/{id}userapikeys:write
POST/api/v1/auth/loginpublic
GET/api/v1/automationsuserautomations:read
POST/api/v1/automationsuserautomations:write
GET/api/v1/availabilityuserpms:read
GET/api/v1/calendaruserpms:readPlanning: unità × giorni con prenotazioni.
GET/api/v1/channelsuserchannels:read
POST/api/v1/channelsuserchannels:write
POST/api/v1/channels/{id}/import-icaluserchannels:write
GET/api/v1/channels/{id}/loguserchannels:read
POST/api/v1/channels/{id}/mappingsuserchannels:write
POST/api/v1/channels/{id}/syncuserchannels:write
GET/api/v1/compliance/alloggiatiuseralloggiati:read
PUT/api/v1/compliance/alloggiati/configuseralloggiati:write
POST/api/v1/compliance/alloggiati/senduseralloggiati:write
GET/api/v1/compliance/istatuseristat:read
GET/api/v1/dashboarduserpms:read
GET/api/v1/dev/auditowner
GET/api/v1/dev/orgsowner
POST/api/v1/dev/orgsowner
PATCH/api/v1/dev/orgs/{id}owner
PUT/api/v1/dev/orgs/{id}/flagsownerBody: {"rms_ai": true, "crm": false, "smartlock": null} (null = torna al default del piano).
GET/api/v1/dev/overviewowner
GET/api/v1/dev/usersowner
POST/api/v1/dev/usersowner
PATCH/api/v1/dev/users/{id}owner
GET/api/v1/eventspublic
GET/api/v1/guestsusercrm:read
POST/api/v1/guestsusercrm:write
GET/api/v1/guests/{id}usercrm:read
PATCH/api/v1/guests/{id}usercrm:write
POST/api/v1/inbound-hooksuserwebhooks:write
GET/api/v1/locksuserlocks:read
POST/api/v1/locksuserlocks:write
GET/api/v1/marketplaceusermarketplace:read
DELETE/api/v1/marketplace/{key}usermarketplace:write
POST/api/v1/marketplace/{key}/installusermarketplace:write
GET/api/v1/meuser
GET/api/v1/message-templatesusercrm:read
POST/api/v1/message-templatesusercrm:write
POST/api/v1/messagesusercrm:write
GET/api/v1/meta/planspublic
GET/api/v1/paymentsuserpayments:read
PUT/api/v1/payments/stripe/configuserpayments:write
POST/api/v1/payments/{id}/refunduserpayments:write
GET/api/v1/propertiesuserpms:read
POST/api/v1/propertiesuserpms:write
GET/api/v1/properties/{id}userpms:read
PATCH/api/v1/properties/{id}userpms:write
POST/api/v1/quoteuserpms:read
POST/api/v1/rate-plansuserrates:write
PUT/api/v1/ratesuserrates:write
GET/api/v1/reservationsuserpms:read
POST/api/v1/reservationsuserpms:write
GET/api/v1/reservations/{id}userpms:read
PATCH/api/v1/reservations/{id}userpms:write
GET/api/v1/reservations/{id}/access-codesuserlocks:read
POST/api/v1/reservations/{id}/access-codesuserlocks:write
DELETE/api/v1/reservations/{id}/access-codesuserlocks:write
POST/api/v1/reservations/{id}/canceluserpms:write
POST/api/v1/reservations/{id}/check-inuserpms:write
POST/api/v1/reservations/{id}/check-outuserpms:write
POST/api/v1/reservations/{id}/confirmuserpms:write
GET/api/v1/reservations/{id}/documents/{gid}usercheckin:read
POST/api/v1/reservations/{id}/foliouserpms:write
POST/api/v1/reservations/{id}/no-showuserpms:write
POST/api/v1/reservations/{id}/paymentsuserpayments:write
POST/api/v1/rms/applyuserrms:write
POST/api/v1/rms/competitorsuserrms:write
POST/api/v1/rms/eventsuserrms:write
GET/api/v1/rms/insightsuserrms:read
POST/api/v1/rms/recommendationsuserrms:read
GET/api/v1/room-typesuserpms:read
POST/api/v1/room-typesuserpms:write
POST/api/v1/segments/previewusercrm:read
GET/api/v1/tasksuserpms:read
POST/api/v1/tasksuserpms:write
POST/api/v1/tasks/{id}/doneuserpms:write
POST/api/v1/unitsuserpms:write
POST/api/v1/units/{id}/statususerpms:write
GET/api/v1/usersuseradmin:users
POST/api/v1/usersuseradmin:users
PATCH/api/v1/users/{id}useradmin:users
GET/api/v1/webhook-deliveriesuserwebhooks:read
GET/api/v1/webhooksuserwebhooks:read
POST/api/v1/webhooksuserwebhooks:write
DELETE/api/v1/webhooks/{id}userwebhooks:write
POST/api/v1/webhooks/{id}/testuserwebhooks:write
POST/channels/{id}/webhook/{sig}publicPrenotazioni push dalle OTA/switch: JSON Channex o XML OTA_HotelResNotifRQ.
POST/hooks/in/{token}public
GET/ical/{room_type_id}/{sig}.icspublic
POST/payments/stripe/webhookpublic