scheduledMessages

Batch approve/reject draft DMs

Changed on

Approve or reject draft messages. An approved first message is put in line and goes out once the person is connected on this account; an approved connection request joins the invitation line. A message that could not be sent is approved again to put it back in line. Optionally edit message text before approval.

post/drafts/review

Request

  • Base URL: https://api.bereach.ai
  • URL: https://api.bereach.ai/drafts/review
  • Auth: HTTP bearer

Request body

campaignIdstring

The list the drafts belong to. Optional: when omitted it is read from the message ids, which must all belong to one list.

approvedstring[]

Message IDs to approve and put in line

rejectedstring[]

Message IDs to reject/cancel

editedMessagesobject

Map of messageId to new text (applied before approval)

Response

Review applied

successtrue required
approvedinteger required

Rows now in line: first messages queued, put back or already there, plus connection requests approved.

rejectedinteger required
invitationsApprovedinteger required

Connection requests among the approved ids, handed to the invitation line.

creditsUsedinteger required

Credits this call spent, net of anything given back. 0 when nothing was charged: a free read, a cached answer, nothing delivered.

retryAfterinteger required

Seconds to wait before another call of the same type. 0 means no wait is needed.

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status