A piece of an email to be reused in multiple messages.
bodyHtml | string <= 16777215 characters The HTML of the snippet. |
bodyText | string <= 16777215 characters The text of the snippet. |
createdAt | string <date-time>
The date and time the snippet was created. |
name | string <= 255 characters
The name of the snippet. |
shareType | string <= 255 characters
The permissions for sharing the snippet; must be "private" or "shared." |
tags | Array of strings A list of tags associated with the snippet (e.g. ["Useful", "Prospecting"]). |
updatedAt | string <date-time>
The date and time the snippet was last updated. |
{- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}
Array of data (object) or links (object) (contentCategoryMembership) The content categories (collections) of the snippet. You can use only the attribute id to filter snippets by contentCategoryMemberships (e.g. filter[contentCategoryMemberships][id]=X). | |
data (object) or links (object) (user) The creator of the snippet. You can use only the attribute id to filter snippets by creator (e.g. filter[creator][id]=X). | |
data (object) or links (object) (user) The owner of the snippet. You can use only the attribute id to filter snippets by owner (e.g. filter[owner][id]=X). | |
data (object) or links (object) (user) The updater of the snippet. You can use only the attribute id to filter snippets by updater (e.g. filter[updater][id]=X). |
{- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canWrite | A boolean value indicating whether the current API user has write access to this resource. | provideAuthorizationMeta |
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
OK
JSON error message
{- "data": [
- {
- "attributes": {
- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "bodyHtml": "string",
- "bodyText": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "shareType": "string",
- "tags": [
- "string"
], - "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}