latestOpenAPI 3.0.02026-08-224362174.0 KB

24a8012aa8c8

Create an Event Contract

Create a new event contract

post/events/contracts

Request body

namestring required

The contract's name

slugstring

The contract's slug. If not specified, one will be generated.

descriptionstring

The contract's description

onUndeclaredSchema'ALLOW_EVENT' | 'BLOCK_EVENT'

What happens to events that aren't defined in the contract. One of ALLOW_EVENT or BLOCK_EVENT. Optional, defaults to ALLOW_EVENT.

Response

Ok

OR
OR
'Internal Server Error' required