Event Type Import From Openapi
POST {{baseUrl}}/api/v1/event-type/import/openapi
Given an OpenAPI spec, create new or update existing event types.
If an existing
archived
event type is updated, it will be unarchived.
The importer will convert all webhooks found in the either the
webhooks
or
x-webhooks
top-level.
Request Body
{"spec"=>{"velita9"=>"<object>"}, "specRaw"=>"<string>"}
HEADERS
| Key | Datatype | Required | Description |
| idempotency-key
| string | | The request's idempotency key |
| Content-Type
| string | | |
| Accept
| string | | |
RESPONSES
status: OK
{"data":{"modified":["user.signup","user.signup"]}}