Skip to main content
POST
Create allocation rule

Authorizations

Authorization
string
header
required

API key from Settings → Security → API Keys. Pass as Authorization: Bearer YOUR_API_KEY.

Headers

Idempotency-Key
string
required

Unique key for safe retries on write requests (required, max 64 characters).

Maximum string length: 64

Path Parameters

id
string
required

Showback ID

Body

application/json
name
string
required
Required string length: 1 - 256
showbackValue
string
Required string length: 1 - 256
filters
object[]
active
boolean
default:true
distributionByPercent
boolean
percentageAllocationType
enum<string>
Available options:
BY_SPEND,
CUSTOM_PERCENT,
CUSTOM_BY_SPEND,
EVENLY
costDistribution
object
dimensionFilters
object[]
clearDimensionFilter
boolean

Response

Create allocation rule

data
object
required

JSON object