API Reference

Team

Repository invites and membership for shared code memory.

API Reference6 pages

Team

Team routes require a browser session.

GET
Path
/api/team
Purpose
Repositories you own, repositories shared with you, members and invites
POST
Path
/api/team/invites
Purpose
Create an invite { repo, email, role }
DELETE
Path
/api/team/invites/:id
Purpose
Revoke a pending invite
POST
Path
/api/team/accept
Purpose
Accept an invite { token }
DELETE
Path
/api/team/members/:id
Purpose
Remove a member from a repository
GET
Path
/api/team/preview?token=…
Purpose
Preview an invite before signing in
invite
curl -X POST https://memo.uno/api/team/invites \
  -H "Content-Type: application/json" \
  --cookie "memo_session=<session>" \
  -d '{"repo":"acme/api","email":"dev@example.com","role":"editor"}'

Roles are editor and viewer. Invites expire after seven days. Only the repository owner can invite or remove members.

Plan requirement

Creating an invite is a Pro feature: on the free plan this route answers 402 with code: "feature". Accepting an invite works on any plan, so a free teammate can join a Pro owner's repository.

Shared memory is scoped to the repository. Personal memory, other repositories, tokens and account details are never shared. See Team repositories.