Zazu Automation API (1.0)

StoryController_create

Create a new story from json input

Authorizations:
bearer
header Parameters
X-API-KEY
string
Request Body schema: application/json
templateSetId
required
string

Selected template id

workspaceId
required
string

Selected workspace id The user must be part of this workspace

title
required
string

Story title

description
string

Story SEO description

authorSEO
string

Story SEO author

object

Story poster images

text
required
string

Story content text which will be parsed accros the slides

required
Array of objects (CreateMediaDto)

Array containing the media files

isTeamStory
boolean
Default: false

Should the story be shared with the team Defaults to true

object

Content of the CTA layer if such is present in the template

userId
string

Selected user id The user must be part of this workspace

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true
}

ArticleController_create

Create a new article from json input

header Parameters
X-API-KEY
string
Request Body schema: application/json
required
Array of objects (CreateArticleDto)

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "success": true
}

TemplateController_findAll

Fetch templates

Authorizations:
bearer
query Parameters
workspaceId
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

WorkspaceController_findAll

Fetch workspaces

Authorizations:
bearer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

UserController_findAll

Fetch all workspace users

header Parameters
X-API-KEY
string

Responses

Response samples

Content type
application/json
[
  • { }
]