flayr

flayr API

Markdown ยท Full LLM docs

Publish, schedule and read your posts from your own code. Every request carries an API key.

Publish or schedule a post

One request posts to your connected accounts now, or books it for later. It needs the Agency plan or higher and a key with the publish scope.

Create a key under API keys (you sign in first), then send it as a Bearer token.

curl -X POST https://flayr.social/api/v2/publish \
  -H "Authorization: Bearer $FLAYR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Fresh sourdough is out of the oven. Open until 6.",
    "platforms": [
      "instagram",
      "facebook"
    ],
    "scheduledAt": "2030-01-15T15:00:00Z",
    "idempotencyKey": "sourdough-2030-01-15"
  }'

Full reference