Recipes
Each recipe takes one common task from start to finish: the requests in order, what each one returns, and what to do with it. The reference describes every endpoint on its own; a recipe shows how several of them fit together.
| Create and export a design | Fill a template with your content and get the rendered file. |
| Download several formats as a ZIP | Export one design in several sizes and fetch them in one archive. |
| Print-ready PDF | Turn a print export into PDF/X with a color profile and crop marks. |
| Publish an export on social media | Schedule a design's export on Instagram; it goes out once a reviewer approves it. |
| Publish an image on social media | Upload a photo to the media library and publish it on Instagram, without a design. |
| Wait for exports with webhooks | Let heycreo tell you when a video is rendered instead of asking every few seconds. |
| Upload assets with metadata | Put files into the media library with tags, a folder and your own fields. |
| Build an n8n approval agent | An AI model looks at every design before approval and holds it back if a rule is broken. |
| Build an agent with the Claude API | An agent in your own code that creates and exports designs through the MCP server. |
| An agent in Microsoft Teams | A Copilot Studio agent your colleagues ask for posters and posts in Teams. |
| Automate with n8n | Turn rows, orders or form entries into finished designs, with or without AI. |
| A team of agents with LangGraph | A campaign lead and a designer agent in Python, also in CrewAI. |
| Designs from CRM events with HubSpot | A new webinar in HubSpot gets its announcement post, linked on the record. |
Before you start
Every recipe uses the same two values. Set them once in your shell:
export HEYCREO_API_KEY="heycreo_…"
export ORGANIZATION_ID="00000000-0000-0000-0000-000000000000"
Every request goes to https://app.heycreo.io/api/organizations/{organizationId}/…, followed by the path of the resource.
- The API key belongs to a service account: create one under Settings → Developers → Service accounts, give it the areas and permissions the task needs, and create a key. The key is shown once.
- The organization ID is your workspace's UUID. Requests explains both.
The examples use curl 7.82 or later, whose --json sends a JSON body with the right headers, and jq to read values out of the responses. Each request is titled with its method and path.