wyro

Post to multiple networks at once

Put several networks in platforms and the same post goes out on all of them with a single request:

curl -X POST https://wyroapi.com/v1/posts \
  -H "Authorization: Bearer $WYRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"We just launched something new","platforms":["instagram","linkedin","x"],"media":[{"url":"https://picsum.photos/seed/launch/1080/1080"}]}'

The response, network by network

targets has one entry per network: status (pending, published or failed), published_url once it's live, and error if a network rejected it. The post's status sums it all up: published, partial (it went out on some) or failed.

Limits worth checking

The text is validated against the limit of each network you choose. If you post to X (280 characters) together with LinkedIn (3000), the text has to fit on X; if it doesn't, the text_too_long error tells you which network and what the maximum is. For different text per network, send one request per network.

Several accounts on the same network

Use account_ids (from GET /v1/accounts) instead of platforms to pick specific accounts, for example those of different clients. More on that in Agencies.