Scrub API
POST/v1/tools/invite_teammatefree

Invite a teammate

Invites a person to this workspace by email, free: they get an email with a link to join, working 7 days, and join by pressing Join on its page, signed in with that address. Inviting an address already invited sends a new link. The owner's alone. The first invitation names the workspace: workspace_name, what the people invited see it called, a name and never an address. How many people a workspace holds is its plan's: refused, and says so, when it is full. At most 20 invitations a day from a workspace, and 3 a day to one address.

Fields

FieldTypeDefaultWhat it is
emailstringRequiredTheir email address
workspace_namestringNoneWhat the workspace is called; needed the first time

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/invite_teammate \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.