Text per network and first comment
In POST https://wyroapi.com/v1/posts, overrides gives a network (or one account) its own text and/or first comment. first_comment at the top level goes on every chosen account whose network supports it.
curl -X POST https://wyroapi.com/v1/posts -H "Authorization: Bearer $WYRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Lanzamos la versión 2: más rápida y con modo oscuro.",
"platforms": ["linkedin", "x", "instagram"],
"media": [{"url": "https://picsum.photos/seed/v2/1080/1080"}],
"overrides": {
"x": {"text": "v2 ya está: más rápida + modo oscuro 🌙"},
"linkedin": {"first_comment": "Notas de la versión: https://example.com/v2"}
},
"first_comment": "#lanzamiento #producto"
}'
| Field | Type | Description |
|---|---|---|
overrides |
object | Keys: a network (x, linkedin…; aliases work) or an account id (acc_…). Value: {"text"?, "first_comment"?}. |
first_comment |
string | Posted right after the post, on every account that supports it. Networks that don't are skipped. |
Which one wins: account id > network > the top-level text / first_comment. An override for a network or account that is not in platforms / account_ids is a validation_error.
Lengths
Each account's text is checked against its network's limit (X counts links as 23 and emoji as 2, as it does). text_too_long says which field, network and maximum.
First comment
| Network | Max characters |
|---|---|
| 2200 | |
| 8000 | |
| 1250 | |
| Threads | 500 |
| YouTube | 10000 |
Not on Instagram stories, TikTok, Pinterest or X (X threads are not supported yet). A first_comment inside overrides for one of them is a first_comment_not_supported error; the top-level one is simply skipped there (and is an error only if no chosen network supports it).
In the response
GET /v1/posts/{id} shows each target's effective text and first_comment; the preview links (/p/…) show each network's own text. With a test key everything is simulated, overrides included.
MCP
wyro_publicar takes textos_por_red (e.g. {"x": "short", "linkedin": "long"}) and primer_comentario.