Skip to main content
POST
Create an event trigger

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY. Account API keys work in every workspace you belong to: send X-Notra-Organization-Id with the workspace id or slug to choose one. Workspace endpoints require it when you belong to more than one workspace; GET /v1/me/workspaces works without it. Organization keys only accept their own workspace there.

Body

application/json
sourceType
enum<string>
required
Available options:
github_webhook
sourceConfig
object
required
targets
object
required
outputType
enum<string>
required
Available options:
changelog,
blog_post,
linkedin_post,
twitter_post,
image
enabled
boolean
required
outputConfig
object
autoPublish
boolean
default:false

Save generated changelogs and blog posts with status published instead of draft. This only marks them published in Notra; nothing is pushed to GitHub or a Notra site. Other output types always stay drafts.

Response

Event trigger created successfully

eventTrigger
object
required
organization
object
required