Snippets
Create Snippet
Save a snippet or hashtag group in a workspace
POST
Create Snippet
Saves a snippet or hashtag group in a workspace, so your team can drop it into posts from the composer. Every plan has snippets, Free included. A workspace keeps at most 500.Request
Short name shown in the list, 1 to 80 characters after spaces at the start and end are removed. Names need not be unique.
Response
201 Created with the new snippet object.
Code Examples
Error Codes
The key does not have the
snippets:create permission, or the key’s person’s role in the workspace does not allow creating snippetsValidation errors: an unknown
workspace_id or one the key’s person is not in, a kind other than snippet or hashtags, a name over 80 characters, an empty or over-5,000-character body. Also when the workspace already keeps 500 snippets: This workspace has 500 saved snippets, the most it can keep. Delete one to save another.