SmartThings Webhook Callback Invalid

Hello All,
I have been trying to set up Samsung Smartthings on my Home Assistant. My setup is a Virtualbox VM with the downloaded .vdi of HA. I’m guessing that is HASSio? Anyways. I have my setup with a https// url on duckdns so i can access it on the web. The instructions said to have my system accessible to the internet and to create a personal access token on smarthings, which I have created. It says to have a webhook with my token at the end ‘…/api/webhook/token’ when I click add integration ‘SmartThings’ it gives me '…/api/webhook/some random token idk where from.
I would like this token at the end to be my PAT that I created.
I read other posts saying here it is supposed to ask you to insert your token, but all I get is Confirm Callback URL is not correct.
I created an automation webhook in automations.yaml hoping to fix this but I get the same thing.

- id: "1645130494651"
  alias: SmartHook
  description: ""
  trigger:
    - platform: webhook
      webhook_id: my newly created pa token
  condition: []
  action:
    - event: ""
      event_data: {}
  mode: single

I really would love to get this to work.
Thanks all

I figured this problem out. I was able to use my Personal Access token at the end of the Callback URL. When the ‘SmartThings’ Integration came up, I clicked submit then It asked me to enter my token. I also had to add my port number at the end of my URL to make it work with my setup.
Next I am going to see if i can get all my SmartThings devices to show in HA.

Hey ExceedingLife, I just stumbled upon this exact same issue when trying to setup smartthings. How did you get your PAT at the end of the callback URL, and how did you add the port number at the end of it? Thanks.

Found the issue, if you have Bot Fight enabled, will block the webhooks from SmartThings api. Disable that option and all shoud work.

This took me out too. When logged into cloudflare go to websites, select your site. Then on the left hand side goto Security and Bots. Turn thi soff and smartthings is now working with HA again.