Using TypeScript? Check out our GraphQL SDK for a fully typed client.
key defined in its schema. Keys make it possible to quickly refer to a thread field without having to know its ID in the schema. For example if you have a field called “Product Area” the key you might choose for the key to be product_area.
Manage thread field schemas
Most teams configure thread field schemas in Settings → Thread fields, but if you want to provision them programmatically you can do so via the API.Get thread field schemas
Query
Variables
Create a thread field schema
key must be unique within your workspace. type is one of STRING, BOOL, NUMBER, DATETIME, or ENUM (for enum types, populate enumValues).
This operation requires the following permissions:
threadFieldSchema:create
Mutation
Variables
Update a thread field schema
Field-level wrapper inputs apply — pass{ "value": ... } for the fields you want to change.
This operation requires the following permissions:
threadFieldSchema:edit
Mutation
Variables
Delete a thread field schema
Deleting a schema also removes any values stored against it on threads. This operation requires the following permissions:threadFieldSchema:delete
Mutation
Variables
Reorder thread field schemas
reorderThreadFieldSchemas updates the order of multiple schemas in a single call. You don’t need to include every schema — only the ones whose order is changing.
Mutation
Variables
Manage thread field values
Upsert a thread field
To upsert a thread field you need an API key with the following permissions:threadField:createthreadField:update
Mutation
Variables
Delete a thread field
To delete a thread field you need an API key with the following permissions:threadField:delete
Mutation
Variables

