Skip to content

Get location privacy policy for online booking

Request

Retrieves the privacy policy configured for a specific location. This endpoint should be called before creating an online booking record to check if the location has a custom privacy policy.

If a location has a custom privacy policy configured, the online booking flow must:

  • Display the policy text to the user
  • Show a checkbox for accepting the privacy policy
  • Only proceed with booking creation after the user has checked the acceptance checkbox

If no custom policy is configured for the location, the booking can proceed without showing any policy acceptance step.

Security
BearerPartner
Path
location_idnumberrequired

location ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/public/openapi/privacy_policy/{location_id}' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
Response
{ "success": true, "data": { "agreement": {} }, "meta": [] }