API reference
Every endpoint, grouped by domain. Start with /v1/whoami; branch from there.
The full Partner API surface — seventeen resources, every endpoint documented. Hit GET /v1/whoami first to confirm your key's org and rate-limit tier, then work down to the resource you need.
Organizations
Key-scoped org identity. Read-only.
Projects
Create, list, patch, archive per-customer projects.
GitHub
Register an installation, ingest a repo.
SDK apps
Create SDK apps and fetch install specs.
Media
Presign uploads, finalize, reference media in content.
Telemetry
SDK events, conversions, Apple Ads attribution.
Influencers
Manage influencer personas per project.
Content
Generate, regenerate, clone, list content items.
Approval
Policy, queue, approve or reject content.
Social accounts
Connect accounts, check OAuth status, revoke.
Publishing
Schedule and publish to connected accounts.
Leased accounts
Request Layers-operated accounts for a niche.
Engagement
Auto-pilot replies, DMs, comment handling.
Metrics
Organic and ads performance queries.
Ads
Read ad campaign state, spend, and status.
Recommendations
Server-side picks for what to generate next.
Jobs
The unified async envelope — poll /v1/jobs/:id.
Webhooks
HMAC-signed event delivery — register endpoints, rotate secrets, replay deliveries.
Conventions
Every page uses the same shape: an <Endpoint> block with method, path, auth, and phase; a Parameters table; request examples in curl, TypeScript, and Python; a response block; and a stable error table. See errors, rate limits, and idempotency for cross-cutting behavior every endpoint inherits.
All examples use X-Api-Key: $LAYERS_API_KEY for auth. Authorization: Bearer $LAYERS_API_KEY is accepted as a fallback.