i created bitbucket webhook api call supplied it with secret the secret token not generate.how to set secret ?. i have use requests methods
<span>def</span> <span>create_hook</span>(<span>workspace_id</span>):
<span># Build the URL for the workspace webhooks endpoint</span>
url = <span>f'https://api.bitbucket.org/2.0/workspaces/{workspace_id}/hooks'</span>
auth = (<span>"user_name"</span>, <span>"password"</span>)
data = {
<span>'url'</span>: <span>'https://demourl.com'</span>,
<span>"name"</span>: <span>"wehhook test secret"</span>,
<span>"description"</span>: <span>" new webhook test "</span>,
<span>'active'</span>: <span>True</span>,
<span>'events'</span>: [
<span>"pullrequest:approved"</span>, <span>"repo:commit_comment_created"</span>,
],
<span>"configuration"</span>: {
<span>"secret"</span>: <span>"abcdef"</span>,
}
}
<span># end the HTTP request to create the webhook</span>
response = requests.post(url, json=data, auth=auth)
<span>if</span> response.status_code == <span>201</span>:
<span>return</span> response.json()
<span>else</span>:
<span>print</span>(<span>"failed to create webhook"</span>, response.text)
<span>return</span> {}```
i want to secret token will generated ,how add secret <span>in</span> bitbucket webhook