# Webhooks

You can get information about new chat messages.

Our chat webhooks will send an application/json data to the URL specified while creating new webhook.

List of defined API hooks is available on API hooks view in the app Settings. There are only three fields for hook to define:

URL - This is the url to which data will be sent to

Token - Allows user to set up the token value that will be passed in every request for this hook. It will be passed as Authorization header

Source - Origin of the Chat message

Content-Type: application/json
Authorization: <token>

Serialized message data will be sent to given url as POST request in Json format:

{
  "id": 713,
  "conversation": 96,
  "timestamp": "2025-01-29T12:06:47.348000Z",
  "author": {
    "id": 119,
    "type": "user",
    "name": "Lime Marten from Chicago"
  },
  "content": "Can you help me with the service payment process?",
  "is_native": false,
  "auto": false,
  "read": false,
  "source": 1,
  "source_context": {
    "page": "/helpcenter/chat/",
    "source": 1
  }
}