Foxli
Log inStart free
Developers / Get started

Your first API call in 5 minutes

Use the Foxli API to schedule posts, read channels and analytics, and get webhooks — from your own app, a script, Zapier or n8n.

Base URL api.foxli.app/v1Format JSONPlans Creator and Team
1

Create an API key

In the Foxli app open Settings › API & webhooks and click Create key. One key works in all your workspaces. Copy it right away — we show it only once.

!Keep your key on the server. Never put it in a website, mobile app or public repo. Anyone with the key can post as you.
2

Check that it works

Call /me. You get your plan, the key’s permissions and the workspaces it can use.

curl https://api.foxli.app/v1/me \
  -H "Authorization: Bearer $FOXLI_API_KEY"
3

Find your channels

If you have more than one workspace, send Foxli-Workspace with the workspace id from step 2.

Response200 OK
{
  "data": [
    { "id": "ch_ig_01", "platform": "instagram", "handle": "@rahulmedia", "status": "active" },
    { "id": "ch_li_02", "platform": "linkedin", "handle": "Rahul Media", "status": "active" }
  ],
  "next_cursor": null
}
4

Schedule a post

Pick draft, queue, schedule or now (goes live within about 2 minutes). Send an Idempotency-Key so a retry never posts twice.

curl -X POST https://api.foxli.app/v1/posts \
  -H "Authorization: Bearer $FOXLI_API_KEY" \
  -H "Foxli-Workspace: ws_rahulmedia" \
  -H "Idempotency-Key: diwali-post-01" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_ids": ["ch_ig_01", "ch_li_02"],
    "content": "Diwali sale is live 🪔 Link in bio.",
    "media_urls": ["https://example.com/diwali.jpg"],
    "mode": "schedule",
    "scheduled_at": "2026-11-08T04:30:00Z"
  }'
201 Created → { "id": "post_8f2k", "status": "scheduled", … }

Times are UTC. 10:00 am IST = 04:30:00Z.

Build on Foxli.

Publish posts, sync social channels, stream analytics, and get instant webhooks.

No card for month one · Cancel anytime