/dashboard/environments/{environmentId}/webhooks (POST)
POST
/dashboard/environments/{environmentId}/webhooks
const url = 'https://example.com/dashboard/environments/example/webhooks';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"address":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/dashboard/environments/example/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "address": "example" }'Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»environmentId
required
string
Request Bodyrequired
Sección titulada «Request Bodyrequired»Media typeapplication/json
object
address
required
string
Example generated
{ "address": "example"}Responses
Sección titulada «Responses»Default Response