Apply label to document
Apply an existing label to a document. Labels must be created first via the Create label endpoint.
Documents can have multiple labels. When a new label is applied using this endpoint, the API adds it to the document’s existing labels. Labels are not replaced.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The document identifier
The label name to apply:
- Must be 2-25 characters
- Labels are case insensitive. For example, adding
BlobSaleswhenblobsalesexists will be treated as a duplicate. - Special characters must be URL-encoded (e.g.,
Q1%202024for "Q1 2024").
Additionally, adding Verified or Homepage labels require Organization Admin permissions.
2 - 25Query Parameters
Requires an Organization API key. Optional user ID that attributes the action to the specified user.
Response
Label applied successfully. No response body.
This response is returned whether the label was newly applied or already existed on the document.