Skip to main content
POST
/
api
/
v1
/
webhooks
/
event-types
Create Event types for webhook
curl --request POST \
  --url https://dev-chat-engine.actualize.ae/api/v1/webhooks/event-types \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "archived": false,
  "deprecated": false,
  "description": "A user has signed up",
  "name": "user.signup"
}
'

Headers

x-api-key
string
required

Body

application/json
description
string
required

Description of event

Example:

"A user has signed up"

name
string
required

Event name

Example:

"user.signup"

archived
boolean
default:false

Whether the event is archived

deprecated
boolean
default:false

Whether the event is deprecated

Response

201

The event type has been successfully created.