Skip to content

Human.invite

POST /{namespace}/humans/invite

Invite asks a person to join a Startup in a named Role, sharing that Role’s work with its Agent.

Noun
Human
Mode
do
Event
Human.invited

Inputs

InputTypeRequiredDescription
emailemailrequiredWhere the invitation goes.
roleRolerequiredThe Role offered.
accessstringThe Access Level the person holds in the app, apart from the Role: admin, member or viewer. Owner is never invited.

Outputs

OutputTypeRequiredDescription
humanHumanrequiredThe invited Human.

Effects

  • Emits Human.invited.
  • Performed by the Recruiter.
  • Staffs the Role with the Human once they accept.
  • Grants the Access Level named in access once they accept.

Refuses when

CheckErrorFixThen call
The input does not match the schema of the operation.invalid-inputRead the schema of the operation, then send every required field with the right type.Human.invite
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.Human.invite
The record changed since it was read, so the write would overwrite a newer version.conflictRead the record again, then retry the write against its current state.Human.invite

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.