Skip to main content
POST
Reassign contacts and conversations from one prompt to another

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
promptId
string
required

Source prompt _id whose contacts and conversations will be moved; this prompt is then deleted.

targetPromptId
string
required

Destination prompt _id that will receive the reassigned contacts and conversations.

Response

Successfully reassigned and deleted prompt

Returned by POST /api/prompts/reassign.

success
enum<boolean>
required
Available options:
true
message
string
required
contactsUpdated
integer
required
conversationsUpdated
integer
required
totalUpdated
integer
required