WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Settings Reference Data → Upsert a tag

AI-generated

Summary

Upsert a tag in Settings Reference Data

Inputs

  • type (required) — Tag type (e.g., service-type, service-scope, work-categories)
  • name (required) — Display name of the tag
  • color — Color identifier (hex code) for the tag
  • icon — Icon identifier for the tag
  • requestOptions — Additional request configuration (e.g., batching, proxy, timeout)

Output shape

a single tag object representing the upserted tag

Returns the full tag payload; optional fields may be omitted; errors are indicated by HTTP status codes

Examples

Example 1: Create or update a tag

type=service-type, name=My Service, color=#1abc9c

Example 2: Update only the color of an existing tag

type=service-type, name=My Service, color=#f1c40f

Example 3: Batch upsert with custom headers

requestOptions: { batchSize:10, batchInterval:500 }

Links

Discussion