Save a hashtag group or a snippet
save_writing_assetSave a reusable hashtag group or text snippet (a signature, a disclaimer, a recurring call to action) for this workspace and return its id. Saved items appear in list_writing_assets, which the team and future captions draw on; check it first to avoid duplicates. It only stores text: nothing is published.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "hashtags" for a hashtag group, "snippet" for a reusable text. | |
| name | Yes | Short label to find it later, e.g. "Summer sale" or "Email signature". | |
| text | No | Required with kind "snippet": the text to reuse. | |
| hashtags | No | Required with kind "hashtags": the hashtags of the group, e.g. ["#coffee", "#barista"]. | |
| workspaceId | No | Workspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |