Skip to main content
POST
Apply a user snapshot

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
newUser
object
required
Example:
pipelineMapping
object

Per-automation map of source pipeline stage value → target stage value.

sourceStatusesMapping
object

Per-automation override for sourceStatuses array (mapped target stages).

agentMapping
object

Per-automation map of source agent name/id → target agent _id.

selectedPromptNames
string[]

Same-org apply only: subset of snapshot prompt names to clone.

applyAutomations
boolean
default:true
applyPrompts
boolean
default:true
applyTemplates
boolean
default:true

Response

Snapshot applied – new user created

message
string
result
object