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.
/api/public/v1/…) and will also be reachable from api.gliiz.com once that subdomain is wired up — same routes, same keys.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:
curl https://votre-domaine.com/api/public/v1/me \
-H "Authorization: Bearer gliiz_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"| Method & path | What it does |
|---|---|
| GET /api/public/v1/me | Project name, AI credit balance, connected social accounts. |
| GET /api/public/v1/assets | List generated assets (flyers, copy, video), newest first. ?limit, ?before for pagination. |
| GET /api/public/v1/analytics | Latest per-platform stats (followers, reach, engagement). ?period=<days>. |
| POST /api/generate/copy | Generate AI captions/hashtags for one or more platforms. |
| POST /api/generate/flyer/v1 | Generate an AI flyer/visual. Runs the same engine as Studio. |
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.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.
| Platform | Publishing | Comment auto-reply | DM auto-reply |
|---|---|---|---|
| ✅ | ✅ | ✅ Messenger | |
| ✅ | ✅ | ✅ DM | |
| TikTok | ✅ Publishing | ❌ | ❌ |
| ✅ | ⚠️ Limited | ❌ | |
| YouTube | ✅ Video only | ❌ | ❌ |
| N/A | N/A | ✅ |
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.
Was this documentation helpful?
