Ask the AI to re-draft the comment, optionally with a new instruction. Keeps the same post context.
Authorization
bearerAuth An API key created under Settings → API & Webhooks.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/pending-comments/string/regenerate" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "id": "string", "campaignId": "string", "campaignLeadId": "string", "leadId": "string", "stepId": "string", "status": "pending", "postUrl": "string", "postText": "string", "prompt": "string", "comment": "string", "firstName": "string", "lastName": "string", "headline": "string", "profileUrl": "string", "publicIdentifier": "string", "decidedAt": "2019-08-24T14:15:22Z", "postedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}List AI voice notes awaiting review GET
Generated AI voice notes awaiting manual approval (from `ai_voice_note` steps with review on), newest first. `audioUrl` plays exactly what the lead would hear, and `script` is what it says. Defaults to status `pending`; pass `status=all` for every status.
Re-record a voice note POST
Re-record the note, optionally rewriting what it says. The script and the audio are always replaced together, so there is no way to edit one without the other. New wording uses the workspace's credits; identical wording replays the cached audio for free.