curl --request POST \
--url https://api.opper.ai/management/v1/projects/{uuid}/webhook/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>"
}
'import requests
url = "https://api.opper.ai/management/v1/projects/{uuid}/webhook/test"
payload = { "url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://api.opper.ai/management/v1/projects/{uuid}/webhook/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"delivered": true,
"duration_ms": 123,
"webhook_id": "<string>",
"error": "<string>",
"status_code": 123
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": "<string>",
"required_scope": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": "<string>"
}Send a test webhook for a project
Sends one signed webhook.test event to url now, signed with the project’s secret, to check that the endpoint is reachable and verifies signatures without running a job. The URL goes through the same checks as a job’s callback_url (400 names the rule it broke). One attempt, no retries: the answer says whether the endpoint took it (delivered, a 2xx), its status_code, or what went wrong. At most 10 a minute per project (429), shared with POST /v3/webhooks/test. Requires the apikeys:write scope.
curl --request POST \
--url https://api.opper.ai/management/v1/projects/{uuid}/webhook/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>"
}
'import requests
url = "https://api.opper.ai/management/v1/projects/{uuid}/webhook/test"
payload = { "url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://api.opper.ai/management/v1/projects/{uuid}/webhook/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"delivered": true,
"duration_ms": 123,
"webhook_id": "<string>",
"error": "<string>",
"status_code": 123
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": "<string>",
"required_scope": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": "<string>"
}Authorizations
Management API authentication. Pass an op-mak-… management token as a Bearer token. Runtime op-… API keys are rejected with 403 — they belong on the data-plane endpoints. Mint a management key from the platform UI under Settings → API keys.
Path Parameters
Project UUID
Body
The https URL to POST the test event to.