Skip to main content
PUT
Set URL Classification

Authorizations

X-API-Key
string
header
required

Body

url
string
required

URL to classify. The override applies to the normalized form, so it covers every source row that canonicalizes to the same URL.

Minimum string length: 1
classification
string | null
required

Built-in classification (HOMEPAGE, CATEGORY_PAGE, PRODUCT_PAGE, LISTICLE, COMPARISON, PROFILE, ALTERNATIVE, DISCUSSION, HOW_TO_GUIDE, ARTICLE, OTHER) or the name of a custom URL classification. Pass null to clear the assignment.

Required string length: 1 - 60
project_id
string

Required if using a company api key

Example:

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

Response

URL classification assignment updated

URL classification assignment updated