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

Authentication

curl -X POST "https://app.journeybee.io/api/v1/categories" \
  -H "Authorization: Bearer your-api-key-uuid" \
  -H "Content-Type: application/json" \
  -d '{"label": "Financial Services", "partner_type": "referral"}'

Request Body Schema

label
string
required
Category name
partner_type
string
Partner type association. Options: referral, reseller

Response Schema

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

Notes

  • Requires API key with write_access permission
  • Categories help organize partnerships for better management and reporting