API

Create a webhook

Create a webhook

Request body

  • url
    string
    URL for the webhook
    • website_id
      string
      Website ID
      • version
        string
        API version (e.g., v1.0)

        Response

        • webhook_id
          string
          Webhook ID
          • url
            string
            URL for the webhook
            • website
              string
              Website name
              • website_id
                string
                Website ID
                • version
                  string
                  API version
                  • enabled
                    boolean
                    Webhook enabled status
                    • created_date
                      integer
                      Unix timestamp for creation date
                      • created_by
                        string
                        Creator of the webhook
                        1
                        curl --request POST \
                        2
                        --url https://api.livesession.io/v1/webhooks \
                        3
                        --header 'accept: application/json' \
                        4
                        --header 'content-type: application/json' \
                        5
                        --data '
                        6
                        {
                        7
                        "url": "string",
                        8
                        "website_id": "string",
                        9
                        "version": "string"
                        10
                        }
                        11
                        '
                        1
                        {
                        2
                        "webhook_id": "string",
                        3
                        "url": "string",
                        4
                        "website": "string",
                        5
                        "website_id": "string",
                        6
                        "version": "string",
                        7
                        "enabled": true,
                        8
                        "created_date": 0,
                        9
                        "created_by": "string"
                        10
                        }
                        List webhooksUpdate webhook