Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>
required

An HTTPS URL that receives deliveries.

Example:

"https://hooks.example.com/crewai"

event_types
enum<string>[]
required

Events to deliver to the endpoint:

  • automation_created: An Automation was created and is provisioning.
  • automation_deployed: An Automation came online for the first time.
  • automation_deployment_failed: An Automation's first deployment failed.
  • automation_redeployed: New code rolled out to an Automation that was already deployed. A restart does not count.
Minimum array length: 1
Available options:
automation_created,
automation_deployed,
automation_deployment_failed,
automation_redeployed
Example:
description
string | null
Example:

"Tenant provisioning receiver"

Response

Created

data
object
required