snippets
Create or update a snippet
Create or update a snippet by ID (numeric) or name (string). For names, creates the snippet if it doesn't exist. For IDs, only updates existing snippets. Numeric identifiers are treated as IDs, string identifiers as names.
put/api/snippets/{identifier}
Request
- Base URLhttps://api.iterable.com
- AuthAPI key in header Api-Key
Path parameters
identifierstring required
Snippet ID (numeric) or name (string). Numeric identifiers are treated as IDs, string identifiers as names. For name-based identifiers, creates the snippet if it doesn't exist.
Request body
Response
Snippet updated successfully
Changes
No recorded changes to this operation across all 4 revisions of this API.