These sample requests are autogenerated by the OpenAPI spec. This endpoint requires one or more parameters in the URL: those are offset in curly-braces.
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
All parameters are optional unless explicitly specified.
The name of the tag.
"VIP"The hex color code associated with the tag.
"#FFD700"An internal description of the tag, only visible to the newsletter author.
A public-facing description of the tag, visible to subscribers in the subscriber portal.
The secondary ID of the tag, used as a human-readable numeric identifier.
If true, subscribers can add or remove this tag from their own profile via the subscriber portal.
This endpoint may return the following error codes. See the error codes reference for more details about error handling.
| Error Code | Description |
|---|---|
name_already_exists | The name of the tag already exists. |
name_too_long | The name of the tag is too long. |