post
https://{telegra.url}/tags
Creates a new tag with the specified properties.
Limitations:
- Maximum of 20 tags per scope (user or affiliate)
- Only affiliate admins can create affiliate-wide tags
- Tag names must be unique within the same scope
Important Notes:
- The owner
idandtargetModelare automatically set by the backend based on the authenticated user - If no scope is provided, it defaults to a user-scoped tag
- The backend completely overwrites the scope object with the correct structure
Error Responses:
400: Invalid parameters or maximum tags limit reached401: Authentication required403: Insufficient permissions for affiliate-wide tags409: Tag name already exists in scope
