Verify a key
GET /me accepts any valid key without an additional scope and returns its
restaurant context and scopes. An expired, revoked or invalid key, or a
restaurant without the API feature, produces 401 INVALID_AUTHENTICATION. A
missing scope produces 403 INSUFFICIENT_SCOPE; details.required_scopes
identifies the required permissions. Staff roles are separate from key scopes.
Scopes
Sensitive fields
WithoutRESERVATIONS_READ_SENSITIVE, reservation responses mask:
- Search:
customer.email,customer.phone_numberandcustomer.langarenull. - Detail, create, update and cancel: customer email, phone and language,
custom_message,allergies,metadata,feedback,total_amount_paidandpaymentsarenull;attached_filesis[].
customer: null
can also mean an anonymous reservation. Do not overwrite your own stored data
with masked values.
Webhooks use a separate secret and are not filtered by API key scopes: they may
contain contact details, notes and payments.
The sensitive_data_included field reports whether sensitive access was
applied. Even with this scope, an invalid historical email address is returned
as null.
Replace a key
A lost key cannot be retrieved. Create a replacement, update the connector, verifyGET /me, then revoke the previous key following your procedure. Never
send the token to support or place it in a URL.