# Add authentication by XApiKey **PATCH /reservation/api/1/platform/{platform-code}/webhook/auth/api-keys** Activate XApiKey authentication for webhooks. ## Servers - Demo URL: https://api.trial.lsk.lightspeed.app (Demo URL) - Production URL: https://api.lsk.lightspeed.app (Production URL) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **platform-code** (string) The unique code assigned to the reservation platform. ### Body: application/json (object) - **headers** (object) - **parameters** (object) ## Responses ### 200 Accepted #### Body: application/json (object) - **accepted** (boolean) Whether the webhook request was accepted. - **currentAuthType** (string) The current authentication type. ### 400 Non relevant request ### 403 Scope 'reservation-{platform-code}' not found in the token ### 404 Platform not found [Powered by Bump.sh](https://bump.sh)