Skip to main content
POST
Create an ordinary Automation

Authorizations

x-coderabbitai-api-key
string
header
required

API key for authentication. You can create an API key from the CodeRabbit dashboard.

Body

application/json
definition
object
required

Ordinary Automation definition. Uses the native trigger and destination field names. Factory assignments and UI experience settings are not accepted.

org_id
string

Git-provider organization ID. Required for workspace keys; omit for organization keys. This differs from the CodeRabbit organization ID in scope.id.

Minimum string length: 1
message_platform_provider
enum<string>
default:slack
Available options:
slack,
discord,
microsoft_teams

Response

OK

automation_id
string
required
revision
integer
required
Required range: 0 < x <= 9007199254740991