# Trigger a web push notification when a new message is sent **POST /chat/web-push/new-chat-message/{id_message}/ambassador/{id_ambassador}** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters ### Headers - **X-Popsell-Brand** (integer) The id of the target brand ### Path parameters - **id_message** (string) The id of the message - **id_ambassador** (string) The id of the ambassador ## Responses ### 200 Returns the web push notification #### Body: application/json (object) - **success** (boolean) ### 403 Forbidden - You don't have permission to access this route ### 404 Not found - The message or the ambassador does not exist [Powered by Bump.sh](https://bump.sh)