Cuppa Explained
  • Welcome to Cuppa
  • Getting Started
    • What is Cuppa?
    • Why You Should Use Cuppa for Content
    • Quick Start Guide and Tour
    • Quickstart Instructions
    • OpenAI API
    • Anthropic API
    • Perplexity API
    • DeepSeek API
    • Replicate API
    • Presets
    • Integrations
    • Team Settings
    • Marketplace
  • Article Basics
    • Single Article Generation
    • Top Search Results, Research, and More
    • Advanced Options, Content Manipulation, AI Images, Knowledge
    • Templates
    • Images & media
    • Editing Articles
    • Content Folder
    • Integrations
  • Bulk Publishing
    • Bulk Article Generation
    • Programmatic Article Generation
    • Exporting Bulk Projects
  • SEO & Humanization
    • Content Maniuplation
    • Our take on AI Detectors
    • Starter Prompts
    • Additional Prompts
  • Image Generation
    • DALL·E 3
    • Midjourney
    • Flux Pro
    • Flux 1.1
    • Stable Diffusion 3
    • Image Generation Module
  • Cuppa vs. Competitors
    • Advantages of Bring Your Own Keys
    • Cuppa vs Jasper
    • Cuppa vs Koala
  • Cuppa Plans
    • Hobby
    • Power
    • Business
    • Agency
    • Done For You (30 articles)
    • Done For You Lite
  • Rest API and Webhooks
    • API reference
    • Webhooks
  • Frequently Asked Questions
    • I have ChatGPT, will that work with Cuppa?
    • Where can I manage my subscription?
    • My OpenAI API Key won't work, any ideas?
    • Do I need Technical Knowledge to use Cuppa?
    • How secure is my data when using Cuppa?
    • Can I Integrate Cuppa With My Existing Content Workflow?
    • Are there any limits on the number of articles or words I can generate?
    • I can't connect my wordpress site, what gives?
    • Do you offer refunds?
Powered by GitBook
On this page
  1. Rest API and Webhooks

Webhooks

PreviousAPI referenceNextI have ChatGPT, will that work with Cuppa?

Last updated 3 days ago

Available on and above. Currently, the webhooks are only triggered for the content generated via the API.

Business

Content Generation Completed

This webhook is triggered when the content generation is completed. It provides the generated content and its status.

Payload
eventstring · enumOptionalPossible values:
Responses
200
Acknowledge receipt of the webhook

Payload

{
  "event": "content.generation_completed",
  "data": {
    "id": "text",
    "is_draft": true,
    "status": "initializing",
    "title": "text",
    "content": "text",
    "snippet": "text",
    "project_id": "text",
    "meta_description": "text",
    "featured_images": [
      {
        "url": "text",
        "alt": "text"
      }
    ],
    "content_type": "article",
    "settings": {
      "model": "text",
      "target_keyword": "text",
      "language": "text",
      "region": "text"
    },
    "created_at": "2025-05-19T08:23:12.298Z",
    "updated_at": "2025-05-19T08:23:12.298Z"
  }
}

Content Generation Failed

This webhook is triggered when the content generation fails. It provides the error details.

Payload
eventstring · enumOptionalPossible values:
Responses
200
Acknowledge receipt of the webhook

Payload

{
  "event": "content.generation_failed",
  "data": {
    "id": "text",
    "is_draft": true,
    "status": "initializing",
    "status_extra": {
      "error": "text"
    }
  }
}