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 set up in EatNow settings use their own secret and are not filtered by
API key scopes: they may contain contact details, notes and payments. An
endpoint created through the API with WEBHOOKS_WRITE receives only what its
key can read, with the same masking as the API.
Activities follow the same rule with ACTIVITIES_READ_SENSITIVE: see the
masked view.
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.