Posteady
Posteady Docs
User guideDeveloper guidesAPI referenceMCP

Update lessons from feedback

Remove or rewrite lines of a persona's lessons from feedback, the same as Lessons from your feedback on its card in Posteady.

PATCH
/api/v1/personas/{id}/edit-lessons
curl -X PATCH "https://example.com/api/v1/personas/55555555-5555-4555-8555-555555555555/edit-lessons" \  -H "Content-Type: application/json" \  -d '{    "changes": [      {        "action": "edit",        "lineId": "3f9a1c2e",        "text": "Keep posts under four lines."      },      {        "action": "remove",        "lineId": "7b4d8e01"      }    ]  }'
{  "editLessons": {    "lines": [      {        "id": "3f9a1c2e",        "kind": "edit",        "text": "Keep posts under four lines.",        "origin": "user",        "evidenceCount": 4      }    ],    "summarizedAt": "2026-11-29T03:00:00Z",    "ruleSuggestions": [],    "ruleSuggestionTarget": null  }}

Remove or rewrite lines of a persona's lessons from feedback, and accept or dismiss its spelling suggestions, the same as Lessons from your feedback on the persona card in Posteady. Read the lines and suggestions in editLessons of GET /api/v1/personas/{id}. Up to 15 changes are applied together, and nothing changes when one of them fails. Every change refers to the lines and suggestions as they are now, so their order doesn't matter. A removed line doesn't come back in later summaries, and later summaries keep a rewritten line as written. accept_suggestion adds a suggestion to the brand rules in ruleSuggestionTarget. Send that ruleSuggestionTarget as target, and send accept_suggestion changes in a request of their own. Adding needs permission to change workspace settings too, and the request fails with REQUEST_CONFLICT when ruleSuggestionTarget has changed since. A dismissed suggestion isn't suggested again. Posteady rewrites the other lines and suggestions when it summarizes new posts, at most once a day per persona, so an ID can stop working; read the persona again when that happens. Lines come only from your team's edits and approvals. Put standing instructions in additionalInstructions with PATCH /api/v1/personas/{id}. Changing these lines doesn't use credits.

AuthorizationBearer <token>

In: header

Path parameters

id*string

Persona ID from GET /api/v1/personas.

Formatuuid

Request body

application/json

TypeScript definitions

Use the request body type in TypeScript.

Response body

application/json

application/json

application/json

application/json

application/json