Skip to main content
POST
/
api
/
v1
/
lead-categories
cURL
curl --request POST \
  --url https://api.capedigital.co.ke/commercial/api/v1/lead-categories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your JWT token in the format: Bearer

Body

Lead Category Serializer

name
string
required

Lead category name

Required string length: 1 - 100
description
string
required

Lead category description

Minimum string length: 1

Response

201 - application/json

Lead Category Serializer

id
string<uuid>
required
read-only
name
string
required

Lead category name

Maximum string length: 100
description
string
required

Lead category description