Skip to main content
POST
Set company niche

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Body

application/json

Set a company's niche and propagate it to its jobs. Defaults to the token tenant's company when companyId is omitted.

companyNiche
string
required

The company niche value (required).

Minimum string length: 1
companyId
string

Target company id; defaults to the token tenant's company. Must be a company you can access.

Response

The number of jobs updated with the new niche.

data
object
required

Result of updating a company's niche.