Skip to content

Invite my cofounder as CTO

Invite a person into a seat; they share it with its agent, under the same Role contract, with their own Access Level.

Invite a person into a Role by email. They share the seat with its Agent under the same contract, and hold an Access Level in the app apart from the Role.

Needs Role

What you get

  • 1invitation to the Engineering Lead seat, sent to their emailHuman
  • 1seat shared with its agent: the agent drafts, the person decidesRole
  • 1sign-in to the app, with access you set apart from the seatAccess Level
  • 1list of the seat’s open work, ready on their first dayTask

Your agent does

Human.invite
You, to your agent

Invite my cofounder as CTO.

Add Sam to the Engineering Lead seat.

Bring a person onto the team.

# Human.invite
curl -X POST https://api.sb/leaseline.app/humans/invite \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"sam@leaseline.app","role":"engineering-lead"}'
import { $ } from 'startup-builder'

await $.Human.invite({ email: 'sam@leaseline.app', role: 'engineering-lead' })
npx startup-builder do Human.invite --json '{"email":"sam@leaseline.app","role":"engineering-lead"}'
{
  "name": "do",
  "arguments": {
    "code": "return await $.Human.invite({ email: 'sam@leaseline.app', role: 'engineering-lead' })"
  }
}

Change it

  • Let Sam approve deploys instead of me.
  • Give Sam viewer access to the books.
  • Hand the seat back to the agent.

Under the hood

Systems
Workforce, Work queue
Nouns
Human, Role, Worker, Access Level
Events
Human.invited