Integrate seamlessly with our REST and GraphQL APIs. Automate your writing workflow, manage your cross-posting integrations, and build custom tools.
Choose between our simple REST endpoint for markdown publishing, or our advanced GraphQL API for full platform control.
Use your personal access token to securely authenticate requests. You maintain full control over your integrations.
Trigger imports, sync your drafts, or push cross-posts programmatically straight from your CI/CD pipelines.
Automate publishing directly from GitHub Actions or scripts. Post raw markdown with frontmatter to our REST endpoint.
POST https://zyvop.com/api/v1/articlesContent-Type: application/json
Authorization: Bearer <your_developer_token>You can send the markdown as a raw string in the content field:
{
"content": "---\ntitle: My Automated Post\npublished: true\n---\n\nThis post was published via the REST API!"
}For more advanced integrations, use our single GraphQL endpoint. Authentication is handled via Bearer tokens.
POST https://zyvop.com/graphqlContent-Type: application/json
Authorization: Bearer <your_developer_token>Use the createPost mutation to programmatically publish a new article to your ZyVOP profile.
mutation CreatePost($input: CreatePostInput!) {
createPost(input: $input) {
id
title
slug
status
publishedAt
url
}
}{
"input": {
"title": "My Awesome API Post",
"content": "This post was created entirely via the ZyVOP GraphQL API. It supports standard Markdown format.",
"excerpt": "A short preview of my post.",
"commentsEnabled": true,
"tags": ["API", "GraphQL", "Automation"]
}
}Retrieve a paginated list of your published articles, including your view counts and cross-posting metadata.
query GetMyPosts {
myPosts(limit: 10, offset: 0, status: "PUBLISHED") {
items {
id
title
url
views
likes
tags {
name
slug
}
}
totalCount
}
}