Skip to main content
POST
/
company-spend-tiers
Create a company spend tier
curl --request POST \
  --url https://www.ruddr.io/api/workspace/company-spend-tiers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "amount": 123,
  "currency": "<string>",
  "isActive": true
}
'
{
  "id": "b3e7c42f-91d5-4a8e-bc6f-2d053a197084",
  "name": "Enterprise",
  "amount": 50000,
  "currency": "USD",
  "isActive": true,
  "createdAt": "2025-01-15T20:47:03.284Z"
}
A tier used to categorize companies based on their annual spend.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the company spend tier.

amount
number
required

The amount of the company spend tier.

currency
string

The currency code for the company spend tier. Defaults to the workspace currency if not provided.

isActive
boolean

Whether the company spend tier is active. Defaults to true if not provided.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the company spend tier.

amount
number

The amount of the company spend tier.

currency
string

The currency code for the company spend tier.

isActive
boolean

Whether the company spend tier is active.

createdAt
string<date-time>

The timestamp when the object was created.