Private preview of the new site. Not live.

members.invite

Invite a person by email as office or field. Owners and office can invite. The invite link works once.

WhoAgents can call this
RESTPOST /v1/members/invite
MCP toolmembers_invite
Writesyes, send an Idempotency-Key
AreaTeam (unlimited workers)

When to use it

The owner wants to add a worker. Ask the worker's email and whether they're office or field.

What to tell the owner

I invited them by email. They join when they accept. Workers are unlimited on every plan.

Input

FieldTypeRequired
shop_idstringyes
emailstringyes
rolestring (one of office, field)yes

Example

POST https://doingwork.work/v1/members/invite
content-type: application/json
Idempotency-Key: 3f1c...

{
  "shop_id": "00000000-0000-4000-8000-000000000000",
  "email": "owner@example.com",
  "role": "office"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
forbidden403This worker's role can't do this, or it needs a person's own sign-in rather than an agent token. Tell the person who can.
conflict409The record is in the wrong state for this, for example sending a quote that's already signed. Read it again and pick the next step.
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.