Skip to main content
POST
UpsertType

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
Type · object
required

Custom entity type to create or update.

allowRename
boolean

Rename a live type that uses the same type_id under another name, instead of failing with ALREADY_EXISTS. Set it only for a type you own: the check is what stops two integrations that picked the same type_id from overwriting each other.

Response

200 - application/json

Success

The response is of type UpsertTypeResponse · object.