Skip to content

invite_project_collaborator

Invite a user to a project by email. Requires Owner role on the project. If the email belongs to an active workspace member, access is granted immediately and they receive a project-access email. Otherwise a pending project grant and workspace invitation are created together — the invitee receives a workspace invite email and both grants are resolved when they sign up.

NameTypeRequiredDefaultDescription
project_nameAnnotated[str, Field(description='Name of the Bridge Town project. Caller must have Owner role.')]Yes
emailAnnotated[str, Field(description='Email address of the user to invite.')]Yes
roleAnnotated[Literal['owner', 'editor', 'viewer'], Field(description="Project role to grant. One of: 'owner', 'editor', 'viewer'.")]No'viewer'

Returns a structured object. Top-level fields:

  • grant_id (string)
  • project (string)
  • email (string)
  • role (string)
  • pending (boolean)
  • workspace_invite (string)

See the response example below for the full payload shape.

{
"name": "invite_project_collaborator",
"arguments": {
"project_name": "forecasts",
"email": "carol@example.com",
"role": "editor"
}
}
{
"grant_id": "99999999-9999-9999-9999-999999999999",
"project": "forecasts",
"email": "carol@example.com",
"role": "editor",
"pending": true,
"workspace_invite": "created"
}
  • Module: Collaborators
  • Requires authentication via API token or Auth0 JWT.