Create an outgoing webhook for an app
Create an outgoing webhook for a specified Bitrise app: this can be used to send build events to a specified URL with custom headers. Currently, only build events can trigger outgoing webhooks.
Path parameters
-
app-slug
string Required App slug
POST
/apps/{app-slug}/outgoing-webhooks
curl \
--request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/outgoing-webhooks' \
--header "Authorization: $API_KEY" \
--data '{"events":["string"],"headers":{},"secret":"string","url":"string"}'
Request examples
{
"events": [
"string"
],
"headers": {},
"secret": "string",
"url": "string"
}
Response examples (200)
{
"data": {
"created_at": "string",
"events": [
"string"
],
"headers": {},
"registered_by_addon": true,
"slug": "string",
"updated_at": "string",
"url": "string"
}
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}