POST
/
api
/
v1
/
tiers
Create Tier
curl --request POST \
  --url https://app.journeybee.io/api/v1/tiers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>",
  "background_color": "<string>",
  "text_color": "<string>",
  "partner_type": "<string>"
}'
{
  "id": 123,
  "uuid": "<string>"
}

Authentication

curl -X POST "https://app.journeybee.io/api/v1/tiers" \
  -H "Authorization: Bearer your-api-key-uuid" \
  -H "Content-Type: application/json" \
  -d '{"label": "Platinum", "background_color": "#E5E7EB", "text_color": "#000000", "partner_type": "referral"}'

Request Body Schema

label
string
required
Tier name
background_color
string
Background color (hex format, default: #6B7280)
text_color
string
Text color (hex format, default: #FFFFFF)
partner_type
string
Partner type association. Options: referral, reseller

Response Schema

id
number
The created tier ID
uuid
string
The created tier UUID

Notes

  • Requires API key with write_access permission
  • Tiers help categorize partners by performance or commitment level
  • Colors must be valid hex color codes