Approve a draft (optionally replacing its text) so the campaign posts it on its next run.
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/approve" \ -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" }}Sync account information POST
Refresh this sender account's LinkedIn profile (name, headline, picture, public identifier) and paid-plan flag from LinkedIn, then return the updated account. Useful right after connecting, or when the stored identity looks stale. Fails with 400 when the account is not connected yet or LinkedIn returns no profile.
Edit a comment draft PATCH
Replace the draft comment text without approving it.