Set the tracker's signing secret
curl --request POST \
--url https://app.hookie.ai/admin/api/projects/{project_id}/integrations/{provider}/webhook-secret \
--header 'Content-Type: application/json' \
--data '
{
"secret": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({secret: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/integrations/{provider}/webhook-secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/integrations/{provider}/webhook-secret"
payload = { "secret": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Projects
Set the tracker's signing secret
For a webhook added by hand in the tracker (a Linear webhook made in Linear’s settings shows its own signing secret): sets it on the project’s endpoint for that tracker. Write-only. Refused to connected agents.
POST
/
admin
/
api
/
projects
/
{project_id}
/
integrations
/
{provider}
/
webhook-secret
Set the tracker's signing secret
curl --request POST \
--url https://app.hookie.ai/admin/api/projects/{project_id}/integrations/{provider}/webhook-secret \
--header 'Content-Type: application/json' \
--data '
{
"secret": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({secret: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/integrations/{provider}/webhook-secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/integrations/{provider}/webhook-secret"
payload = { "secret": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Path Parameters
Response
Successful operation
The response is of type object.