{"_id":"58652ebb3adc963700519262","parentDoc":null,"project":"5588b8a2f6c18d0d005bba03","user":"5588b847f6c18d0d005bba01","__v":3,"version":{"_id":"5588b8a2f6c18d0d005bba06","project":"5588b8a2f6c18d0d005bba03","__v":16,"createdAt":"2015-06-23T01:38:42.696Z","releaseDate":"2015-06-23T01:38:42.696Z","categories":["5588b8a3f6c18d0d005bba07","5588e9689cfea70d00371df3","5588f5921163180d00b64704","561598b121e9110d0078025a","5616f1c9d170d00d00189306","5616f5c3a410c90d00c6121e","561803dcf8c9632100ac7592","563667280441020d0000e9eb","5642570d9417b40d00c0fcd3","57bf5f02efe0050e00d50bd5","57f53fb368a53b2000e03f0f","57f55187440418170086325a","582e3afa72fd270f0006926d","5841faa973967b0f004b4a2b","58db348aa32c8419002433bb","5a31c9409a6f2000125c079f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"57f53fb368a53b2000e03f0f","version":"5588b8a2f6c18d0d005bba06","project":"5588b8a2f6c18d0d005bba03","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-10-05T18:00:19.547Z","from_sync":false,"order":0,"slug":"api","title":"REST API: Access your Mixmax data"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-29T15:41:47.253Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[]},"method":"get","results":{"codes":[{"name":"","code":"{\n  results: [{\n    _id: \"586346d00000000000000000\",\n    userId: \"586346d00000000000000000\",\n    title: \"My test snippet\",\n    source: \"<div>My snippet</div>\",\n    shared: [{\n      userEmail: \"email:::at:::domain.com\",\n      confirmed: true\n    }],\n    teamIds: [\"5680c1d00000000000000000\"],\n    isInline: false\n  }, {\n    _id: \"586346d00000000000000001\",\n    userId: \"586346d00000000000000000\",\n    createdAt: 1478122191867,\n    savedAt: 1478122199068,\n    name: \"My other snippet tag\",\n    shared: [{\n      userEmail: \"email@domain.com\",\n      confirmed: true\n    }],\n    isInline: false\n  }]\n}","language":"json","status":200}]},"auth":"required","params":[{"_id":"58652ebb3adc963700519263","ref":"","in":"path","required":true,"desc":"Snippet tag Id","default":"","type":"string","name":"id"},{"_id":"58a4fe6764506619000e7a2e","ref":"","in":"query","required":false,"desc":"(Optional) field to sort results by","default":"no sort","type":"string","name":"sort"},{"_id":"58a4fe6764506619000e7a2d","ref":"","in":"query","required":false,"desc":"(Optional) true to sort ascending","default":"false","type":"string","name":"sortAscending"},{"_id":"58a7a0ca2171a00f00a22f57","ref":"","in":"query","required":false,"desc":"(Optional) returns analytics for each snippet","default":"no analytics","type":"string","name":"expand=analytics"},{"_id":"5ab07d7ec63571001214e11f","ref":"","in":"query","required":false,"desc":"(Optional) False to only return templates tags and true to only return snippet tags (they don't include subject lines and can't be sent individually).","default":"","type":"boolean","name":"isInline"}],"url":"/v1/snippettags/:id/snippets"},"isReference":true,"order":140,"body":"","excerpt":"Fetches all of the snippets in the given snippet tag","slug":"snippettags-id-snippets-get","type":"endpoint","title":"/snippettags/:id/snippets"}

get/snippettags/:id/snippets

Fetches all of the snippets in the given snippet tag

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
string
Snippet tag Id

Query Params

sort:
stringno sort
(Optional) field to sort results by
sortAscending:
stringfalse
(Optional) true to sort ascending
expand:
stringno analytics
(Optional) returns analytics for each snippet
isInline:
boolean
(Optional) False to only return templates tags and true to only return snippet tags (they don't include subject lines and can't be sent individually).

Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}