Skip to main content
POST
Create a label
Needs labels:create, and a role in the workspace that can create labels: owners, managers, content managers and content creators can. See Permissions.
Makes a label in a workspace. name and color are both needed; color is a hex color like #0EA5E9. Send the answer’s id in a post’s labels when you create or update it. Labels are on paid plans. When the workspace owner is on Free, nothing is saved and the answer is 403 with error: plan_limit_reached and limit: labels. The owner’s key gets upgrade_url and upgrade_plan; anyone else’s is told to ask the owner (owner_plan: true, no upgrade_url).

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspace_id
integer
required

The workspace. It must be one the key can reach.

name
string
required
Maximum string length: 255
color
string
required

A hex color, like #0EA5E9.

Response

The label.

A label to tag posts with.

id
integer
required

The label's id. Send it in a post's labels.

name
string
required
Maximum string length: 255
color
string
required

A hex color, like #0EA5E9.

workspace
object
required

The label's workspace, as List workspaces gives it, with no accounts or brand_voice.