Built-in tool
Save Snapps Blog Draft
Create a new blog draft on a connected Snapps website, with HTML text, a description and an optional cover image.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| titlestring · required | string | required | — |
| descriptionstring · required | string | required | — |
| contentstring · required | string | required | Article body as HTML, without an html or head wrapper. |
| authorstring · optional | string | optional | — |
| accountstring · optional | string | optional | The account value from connector-list-accounts for Snapps. Required when several are connected. Never an API key. |
| coverImageUrlstring · optional | string | optional | — |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"post",
"live"
],
"properties": {
"live": {
"type": "boolean",
"const": false
},
"post": {
"type": "object",
"required": [
"id",
"title",
"status",
"path",
"url",
"description",
"content"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 200,
"minLength": 1
},
"url": {
"type": [
"string",
"null"
]
},
"path": {
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"status": {
"type": [
"string",
"null"
]
},
"content": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}