Skip to main content
POST
/
classifications
/
urls
Create Custom URL Classification
curl --request POST \
  --url https://api.peec.ai/customer/v1/classifications/urls \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
  "color": "orange"
}
'
{
  "name": "<string>",
  "color": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.peec.ai/llms.txt

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

Authorizations

X-API-Key
string
header
required

Body

name
string
required
Required string length: 1 - 60
project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

color
enum<string>
default:orange
Available options:
orange,
red,
amber,
yellow,
lime,
green,
emerald,
teal,
cyan,
sky,
blue,
indigo,
violet,
purple,
fuchsia,
pink,
rose,
gray
Example:

"orange"

Response

Custom URL classification created

Custom URL classification created

name
string
required
color
string
required