v1

latestOpenAPI 3.0.32026-07-26710398.3 KB
Project

Create Custom URL Classification

Define a new custom URL classification for a project. Once created, it can be assigned to URLs via the assignment endpoint.

post/classifications/urls

Request body

project_idstring

Required if using a company api key

namestring required
color'orange' | 'red' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'gray'

Example request

{
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb",
  "color": "orange"
}

Response

Custom URL classification created

namestring required
colorstring required