Labels
Create Label
Create a new label to categorize your social media posts
POST
Create Label
Creates a new label to help categorize and organize your social media posts. Labels can be used to group related content together for better organization and filtering.Request
integer
required
The ID of the workspace where the label will be created
string
required
The name of the label
string
required
Hex color code for the label (e.g., “#ff0000” for red)
Response
integer
Unique identifier for the created label
string
The name of the label
string
The hex color code of the label
object
Information about the label’s workspace
string
Creation timestamp in workspace timezone
string
Last update timestamp in workspace timezone
Code Examples
Error Codes
Bad Request
Validation errors or invalid parameters
Unauthorized
Missing or invalid API token
Forbidden
Token does not have ‘labels’ permission
Not Found
Workspace not found or user does not have access to the workspace.
Unprocessable Entity
Validation errors in request data