Silicon OrganizationsOpen your orgs →

Build an Interface with Silicon Organizations

Request the app ID silicon-organizations in your Silicon Interface. Use its access token to run the same organization, people and contact workflows as the management site. The HTTPS API base is https://organizations.teamofsilicons.com/v1. Download the OpenAPI contract.

Sign in and select an account

Configure the Interface with the Organizations app ID and a registered callback URL. Open https://accounts.teamofsilicons.com/interface-authorize with the Interface ID, registered redirect URI, random state and an S256 PKCE challenge. Verified Interfaces can also use their registered backend sign-in flow. Verify the callback state, then exchange the authorization code with its original verifier at POST https://accounts.teamofsilicons.com/v1/interface-auth/token. Interface sign-in documentation.

After Accounts sign-in, read apps["silicon-organizations"].access_token. Send it in the Authorization: Bearer header. A standalone browser can call the API with CORS and omitted cookies. An Interface backend can make the same requests.

const base = "https://organizations.teamofsilicons.com/v1";
const token = session.apps["silicon-organizations"].access_token;
const headers = { Authorization: `Bearer ${token}` };
const response = await fetch(`${base}/me`, { headers, credentials: "omit" });
if (!response.ok) throw new Error(`Organizations returned ${response.status}`);
const { account, organizations, invites } = await response.json();

Use account.uuid to scope cached data. A personal account creates organizations and receives invitations. Creation returns work_account and switch_account_required. Have the user select that work account through Accounts before opening its management view. GET /me also lists linked work accounts for selection. Possessing a personal token for the same person grants no work-account role. Refresh the Interface session through Accounts and read its replacement app token. Keep app secrets, STKs and refresh credentials out of browser URLs and logs.

Organizations checks live Accounts introspection for an active access token, the Organizations client ID and its subject. Its Accounts bridge verifies the actor and the subject must match. Callers receive 401 for ended access, 403 for missing resource permissions and 503 when verification is unavailable. Clear private UI state on account changes and ended access.

Open the workspace

Method and routeWho can use it and what comes back
GET /meta, GET /openapi.jsonPublic discovery, app ID, URLs, version and contract
GET /me, GET /orgsCurrent account, selectable organizations and addressed pending invites
GET /orgs/availability/{org}Public ID availability
POST /logos, GET /logos/{id}A personal account or work admin uploads raw PNG, JPEG or WebP. The public URL serves sanitized PNG.
POST /orgs, GET /creations/status?key=…A personal account creates an organization or checks its own creation receipt
GET /orgs/{org}Current work member’s visible org, members, teams, invitations, offers, votes and capabilities
PATCH /orgs/{org}, POST /orgs/{org}/actionsUpdate organization identity or perform one of the actions below
GET /orgs/{org}/publishing-policyOwners and admins read publishing grants
GET /invites/{id}Public invitation context. With an active account, a pending invitation also reports eligibility.
POST /invites/{id}/accept, POST /invites/{id}/declineProven recipient answers with their Organizations token and an empty object, or with an Accounts-issued invitation proof. Guest acceptance can return a new session.
GET /apps?q=…Public app catalog suggestions for access settings
GET /orgs/{org}/logsOwners/admins see organization activity. Team admins see permitted activity. Use format=csv to export.
GET /orgs/{org}/eventsAn authorized member opens a bearer-authenticated event stream
POST /reportsA signed-in user submits a message and optional pr link for a support report

To create an organization, POST {"org_id":"linden","name":"Linden Studio","handle":"alex"} with an operation key. For an uploaded logo, include the returned logo_id. Uploads allow 2 MiB, 4 million pixels and at most 4096 pixels per side. Drafts expire after 24 hours. Each account can upload 20 logos per hour.

Invite, find and recognize people

  1. Load GET /people?kind=carbon&personal=true&limit=12 when the invite field opens. As the user types, add q. Fuzzy matching covers substrings, misspellings and transposed letters in names and IDs.
  2. Display each person’s display_name, id and pfp_url. Saved contact names and pictures take precedence. A relative photo path, such as /v1/contacts/photos/{id}, is private. Fetch it from the Organizations origin with the same bearer and render the returned PNG blob. Use account_pfp_url or initials if necessary.
  3. Resolve a typed ID through GET /people/resolve?id=c%3Aalex. It accepts personal and work IDs, account UUIDs, and an exact email uniquely saved in the caller’s connected Contacts. Emails outside that address book can receive invitations without an account preview.
  4. POST the following body to /orgs/linden/actions with an Idempotency-Key. Use the current ID and UUID from the selection. A changed mapping returns 409. For an email invitation send the address as target and omit target_uuid.
{"action":"invite","target":"c:alex","target_uuid":"00000000-0000-4000-8000-000000000002","handle":"alex","teams":[]}

The result includes the invitation ID in invite and its Accounts acceptance_url. Refresh the authorized organization view after a mutation. A work Carbon invitation creates a separate work account on acceptance. Create an organization Silicon through silicon_create, then use silicon_link to request a link to an existing personal Silicon.

An illustrative suggestion page contains these fields.

{"items":[{"uuid":"00000000-0000-4000-8000-000000000002","id":"c:alex","kind":"carbon","display_name":"Alex from Design","account_name":"Alex","pfp_url":null,"account_pfp_url":null,"trust":8,"blocked":false,"sent":3,"received":1,"last_invited_at":1794956400}],"contacts_status":"connected","total":1,"next_offset":null}

Order is descending by 2 × sent + received, then newest invitation in either direction, then highest contact trust. Name and immutable account ID break remaining ties. Each person appears once. Committed invites, explicit resends, ownership offers and new Silicon link requests count. Retained invitation and ownership audit events are included. Historical Silicon link targets were private and cannot be reconstructed. An email-only invitation enters account-based suggestions when the recipient is established. Retries and failed operations add no invitations. Only each participant can read their own counts.

For member selection use org=linden&scope=members. Teams can add exclude_team=TEAM_ID, and ownership offers can add exclude_owners=true. The server applies membership visibility before filtering and pagination. A Contacts outage yields contacts_status:"unavailable" on suggestions, allowing eligible roster and invitation-history matches to continue. A disconnected account receives "disconnected".

Connect and save contacts

Read GET /contacts/connection. When the user selects Connect, POST {"enabled":true} to that path with an operation key. This permits address-book reads and writes for the selected account. Organizations obtains short-lived user-verification proofs for Silicon Contacts on its backend. Contacts remains the source of saved names, private photos and trust.

Read GET /contacts?q=alex&limit=25&offset=0. To add a contact or change its name/trust, POST {"id":"si:scout","name":"Studio assistant","trust":2} to /contacts with an operation key. The response is the saved person. Trust is an integer from 1 to 255, with 1 for a contact and 2 for trusted. The editor preserves the contact’s other saved details. Disconnect with {"enabled":false} on the connection endpoint. The original address book stays in Silicon Contacts.

Show files shared with the account

Open Shared with me in Briefcase with any combination of from=ACCOUNT_UUID, contacts=saved|unsaved and min_trust=1…255. The Organizations Contacts screen builds these links. Briefcase applies the filters to the active Briefcase account and offers its own contact connection. Select the matching personal or work account there.

A standalone Interface can render files directly. Include the briefcase app in sign-in, take its app-specific access token, and call GET https://api.briefcase.teamofsilicons.com/api/v1/shared?contacts=saved&min_trust=2 from your backend. Add from, filename/path search q and the returned cursor as needed. Match the Briefcase and Organizations account UUIDs when combining results. Briefcase checks file and live group permissions before returning rows. Briefcase Interface API.

Management actions

Send JSON with the named action and fields below to POST /orgs/{org}/actions. Most successes return the refreshed role-filtered view plus operation-specific fields. Current capabilities control the UI. The server checks role, target and team authority again on each request. Work-member references are immutable account UUIDs.

ActionsInputs and authority
updateOwners/admins can supply name, logo_id or logo_url. Owners can set admin_team_permissions.
invite, invite_resend, invite_cancelInvite with target, handle and optional teams, team_admins, admin, manage_admins, settings. For resend/cancel supply invite. Team admins can invite into teams they manage.
silicon_create, silicon_update, silicon_rotate, silicon_linkCreate with display_name, handle and optional initial roles/teams/settings. Admins edit the work Silicon profile with member and profile fields. Rotation and linking require authority to remove the target. Link with member, target_id and optional target_uuid. Accounts collects recipient approval. Show a newly issued STK only to the authorized operator.
member_rename, member_update, member_remove, leaveAdmins rename using member and handle or update member and settings. Removal needs authority over that member. A member can leave their own organization, subject to the last-owner rule.
team_create, team_update, team_deleteCreate with name and optional description. Update/delete with team. Team structure, settings and admin-team changes use their respective capabilities.
team_member_add, team_member_remove, team_admin_setSupply team and member. Appoint/revoke a team admin with boolean admin. Admin teams enforce the extra Manage admins checks.
admin_setSupply member, admin and optionally manage_admins. Owners or authorized admins can change an admin. Only an owner can change Manage admins.
owner_offer, owner_accept, owner_decline, owner_step_downAn owner offers ownership to member. The recipient accepts/declines with offer. An owner can step down if another owner remains.
vote_start, vote_cast, vote_cancelAn owner starts removal with member and optional also_remove. Eligible owners cast vote and boolean yes. The initiator can cancel their open vote.
policy_updateSet scope to org, team or member and send settings. Supply the matching team/member ID. Organization/member policies require admin authority. Team settings respect team capabilities.
publishing_policy_updateOwners/admins replace publishing_policy.grants for Apps, Interfaces and Cells. Read the current policy before modifying it.

Paging, events and recovery

People and Contacts use limit (1–200, default 50) and offset (default 0). Continue with next_offset until null. Search and ranking precede pagination. Org/member/team snapshots are returned together. Logs accept member, team, kind prefix, app, from and to (Unix seconds or RFC 3339). Follow next_cursor as after while has_more is true, even through an empty filtered page. The default log limit is 1,000 and the maximum is 10,000.

Every keyed POST/PATCH takes one stable Idempotency-Key of 1–200 characters per logical change. Reuse the same key and body after a timeout. New actions use fresh keys. JSON request bodies are limited to 1 MiB. Domain errors include error.code, message and hint. Malformed transport input can return plain text. Handle invalid input (400/422), permission changes (401/403), missing resources (404) and conflicts (409) before retrying. Back off on 429/503 and honor Retry-After when present.

Stream GET /orgs/{org}/events with the bearer and Accept: text/event-stream. Refetch the authorized view and logs on ready and refresh. Clear private state on closed. On reconnect, unavailable or network loss, reconnect with bounded backoff. Streams rotate after five minutes, recheck authority regularly and allow 128 live views per API process. The stream supplies change hints. Audit history comes from the logs endpoint. Lifecycle notifications are delivered by Silicon Ting.

Direct app sessions also have /auth/slt, /auth/code, /auth/refresh and /auth/logout. Interfaces manage their own refresh and sign-out through Accounts. Other installed apps can use a smaller management surface with their own app token. Direct authentication and live API · App sessions and publishing integrations.

Report an integration problem

Send POST /reports with your Organizations bearer, an operation key, and a JSON body such as {"message":"The contacts request returned 503 while opening the address book."}. Include the route, UTC time and error code so the team can trace the request. Keep access tokens and private contact details out of reports. The response contains report_id and queued.