Public API

Public API (v1)

A first, deliberately small REST API: read your project and credits, list generated assets, read analytics, and trigger AI copy/flyer generation — reserved for Pro, Agency and Enterprise plans.

Status: v1, growing. This is an early, stable slice — not the full app surface. Publishing/scheduling via the API and outgoing webhooks are planned next; this page will be updated as they ship. The routes below live at a path today (/api/public/v1/…) and will also be reachable from api.gliiz.com once that subdomain is wired up — same routes, same keys.
Authentication

Generate a key from Account Settings → API (Owner or Admin, Pro/Agency/Enterprise plan on the chosen project). A key is scoped to exactly one project and shown in full only once at creation. Send it as a Bearer token on every request:

bash
curl https://votre-domaine.com/api/public/v1/me \
  -H "Authorization: Bearer gliiz_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Endpoints
Method & pathWhat it does
GET /api/public/v1/meProject name, AI credit balance, connected social accounts.
GET /api/public/v1/assetsList generated assets (flyers, copy, video), newest first. ?limit, ?before for pagination.
GET /api/public/v1/analyticsLatest per-platform stats (followers, reach, engagement). ?period=<days>.
POST /api/generate/copyGenerate AI captions/hashtags for one or more platforms.
POST /api/generate/flyer/v1Generate an AI flyer/visual. Runs the same engine as Studio.
Project scoping. A key always acts on the one project it was created for — any project_idsent in a request body is ignored in favor of the key's own project. Generation requests count against that project owner's normal plan limits and rate limits, same as using the app itself.
Social Networks

Platforms & Networks

What you can do on each connected social network (publishing, comment replies, and DM replies), so you know what to expect before connecting an account.

PlatformPublishingComment auto-replyDM auto-reply
Facebook✅ Messenger
Instagram✅ DM
TikTok✅ Publishing
LinkedIn⚠️ Limited
YouTube✅ Video only
WhatsAppN/AN/A
Need something beyond the v1 API?Publishing/scheduling via the API and outgoing webhooks aren't available yet (see the Public API section above for what's live today). A dedicated integration is available on request for Pro and Agency plans; reach out to our team from the Contact page to discuss your use case.
Good to Know

Capabilities above depend on the permissions each platform grants Gliiz at connection time and can change if a platform updates its policies. If a feature you expect is missing on a connected account, try reconnecting it from Settings → Accounts.

Documentation Feedback

Was this documentation helpful?