01 · Brand and targets
Which accounts can this workflow use?
Start with the authorised context. Discover real connected targets and supported formats for the brand your key can access.
GET /v1/contextRead the brand and targets referenceSocial media management API
Bring social content into your own application. Use one documented API for brands, connected accounts, media, drafts and schedules.
Instagram · Facebook · TikTok · YouTube · LinkedIn personal profiles · Threads · X · Bluesky · Telegram · Discord · Tumblr · Pinterest
curl https://api.wahlu.com/v1/context \
-H "Authorization: Bearer $WAHLU_API_KEY"Create a key in Settings → API Keys. The response tells your application which brands it can access.
Carry each returned ID into the next request. Your application keeps the business logic; Wahlu keeps the content and publishing state.
01 · Brand and targets
Start with the authorised context. Discover real connected targets and supported formats for the brand your key can access.
GET /v1/contextRead the brand and targets reference02 · Media
Import a public URL or use the documented upload flow. Read the returned media item and its readiness before attaching it to content.
POST /v1/brands/:brand_id/media/importsRead the media reference03 · Content
Create a draft with canonical copy, media references and platform settings. Keep returned IDs with the source item in your system.
POST /v1/brands/:brand_id/content-itemsRead the content reference04 · Schedule
Check readiness, select the intended accounts and create a schedule with an explicit approval state. Read its status to confirm the result.
POST /v1/brands/:brand_id/schedulesRead the schedule referenceGive each integration its own API key. Select permissions and restrict brand access so one client’s workflow does not need access to another.
Use a caller-owned Idempotency-Key for documented mutations. Reuse it with the same request when a response is interrupted.
Preflight reports content, media, timing and account blockers without creating a schedule. Your application can show the guidance to the person reviewing the post.
Start with pending_review. An approved schedule also needs the Publishing permission (publish:execute) and posts to your connected social media accounts.
See the sequence from discovery to a schedule held for review.
Choose between a hosted MCP connection and your own REST workflow.
Use n8n, Make or Zapier with HTTP requests and scoped keys.
Follow a worked example with media readiness, preflight and a held result.
Connect your social accounts in Wahlu, choose one brand and follow the documented recipe.