companies

Upsert user trait

post/user-traits

Request

  • Base URL
    https://api.schematichq.com
  • URL
    https://api.schematichq.com/user-traits
  • Auth
    API key in header X-Schematic-Api-Key

Request body

incrinteger nullable

Amount to increment the trait by (positive or negative)

keysobject required

Key/value pairs to identify a company or user

setstring nullable

Value to set the trait to

traitstring required

Name of the trait to update

update_onlyboolean nullable

Unless this is set, the company or user will be created if it does not already exist

Response

OK

paramsobject required

Input parameters

Changes

No operation changes recorded.