Validate access code
Validates an access code that unlocks gated listings.
Scoped to the brand in the brandId path parameter. A brand key must be that brand’s own key. An organization key works for any brand in its organization, including brands of child organizations, and needs no Way-Brand-Id header.
Authorizations
Your brand's secret API key, e.g. Bearer way_sk_live_bhEqcn0i1fRoUEHBPjJkQA. The key names the brand, so a brandId in the path must be your own brand. Older Way-Brand-Id + Way-Secret-Key credentials still work: see Legacy authentication.
Path Parameters
The brand's ID. With a brand key this must be your own brand; with an organization key it can be any brand in the organization.
The access code to validate, as entered by the guest.
Body
The body is of type object.