# Webhook ⚓ **POST /webhook/{event_key}** Use this endpoint to notify Deck of something happening outside of it. Some actions will be triggered depending on the event key and the caller. The event key and its consequences have to be defined with Deck team before using it, as it will be custom behaviours. If you want to test an API call before having a real event in place, use "test-event" as event_key. It will not do anything but will reply with an OK. ## Servers - https://api.ppe-analytics.com/api/v1: https://api.ppe-analytics.com/api/v1 () ## Authentication methods - Api key ## Parameters ### Path parameters - **event_key** (string) The event key to call, as given by Deck ### Body: application/json (object) The webhook payload, format depending on the contract between Deck and the caller - **sample_input_1** (string) A sample input as a string - **sample_input_2** (integer) A sample input as an integer ## Responses ### 200 Valid webhook call #### Body: application/json (object) - **status** (string) - **message** (string) ### 404 Unknown event key #### Body: application/json (object) - **status** (string) - **message** (string) ### 400 Bad parameters #### Body: application/json (object) - **status** (string) - **message** (string) [Powered by Bump.sh](https://bump.sh)