Skip to content

Lead.assign

POST /{namespace}/leads/{lead}/assign

Assign gives a Lead one owner Worker, by round robin, territory or ICP fit, as the Startup’s routing Policy says.

Noun
Lead
Mode
do
Event
Lead.assigned

Inputs

InputTypeRequiredDescription
leadLeadrequiredThe Lead to route.
ownerWorkerThe Worker to own it; omitted, the routing Policy picks.

Outputs

OutputTypeRequiredDescription
leadLeadrequiredThe Lead, with its owner.

Effects

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Lead.assign

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.