customerId
. You can get a customer id by creating the customer in Plain first.
Since the Typescript SDK expands a lot of fields you will need an API key with the following permissions:
label:create
label:read
labelType:read
machineUser:read
customer:read
user:read
thread:create
thread:edit
thread:read
threadField:create
threadField:update
threadField:read
result.data
is: