API Documentation

Our REST API lets you generate images and automate marketing workflows.

Base URL

endpoint
https://api.marketech-solutions.com/v1

Authentication

All API requests require your secret key in the Authorization header:

header
Authorization: Bearer <your_api_key>

Generate an Image

POST /v1/images/generate — Create an image from a template. Returns a CDN URL.

curl
curl https://api.marketech-solutions.com/v1/images/generate \
-X POST \
-H "Authorization: Bearer ***" \
-H "Content-Type: application/json" \
-d '{"template":"banner","modifications":[{"name":"title","text":"Hello"}]}'

Create a Social Post

POST /v1/posts — Create and publish content to connected social accounts.

Schedule a Post

POST /v1/posts/schedule — Schedule content for future publishing (ISO 8601).

SDKs & Libraries

Official SDKs available for Node.js, Python, PHP, and Ruby. Check our GitHub for examples.

Node.js
const marketech = new Marketech("sk_...");
const image = await marketech.images.create({
  template: "product-banner",
  modifications: [{ name: "headline", text: "Hello World!" }]
});