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

KeyDatatypeRequiredDescription
idempotency-keystringThe request's idempotency key
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;modified&quot;:[&quot;user.signup&quot;,&quot;user.signup&quot;]}}