Create an Event Contract

Create a new event contract

post/events/contracts

Request

  • Base URL
    https://api.hightouch.com/api/v1
  • Auth
    HTTP bearer

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

Changes

No recorded changes to this operation across all 19 revisions of this API.