Skip to content

/apps/{appId}/webhook (POST)

POST
/apps/{appId}/webhook
curl --request POST \
--url https://example.com/api/v1/apps/example/webhook \
--header 'Content-Type: application/json' \
--data '{ "provider": "github" }'
appId
required
string
Media type application/json
object
provider
Any of:
string
Allowed values: github

Default Response

Media type application/json
object
id
required
string
appId
required
string
provider
required
Any of:
string
Allowed values: github
url
required
string
secret
string
Example
{
"provider": "github"
}

Default Response

Media type application/json
object
type
required
string
title
required
string
status
required
integer
code
required
string
detail
string
instance
string
errors
Array<object>
object
path
required
string
message
required
string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"code": "example",
"detail": "example",
"instance": "example",
"errors": [
{
"path": "example",
"message": "example"
}
]
}