Extend documentation

Extend interface API

Use Extend from your own frontend with the signed-in account’s devices, contacts and organizations.

Connect an interface

Add extend to the interface’s resource apps. After Accounts sign-in, take apps.extend.access_token and send it in the Authorization header. Your backend handles the interface secret and refresh flow. The API also accepts browser requests with an explicit bearer token and credentials omitted.

const origin = "https://api.extend.teamofsilicons.com";
const headers = { Authorization: "Bearer " + apps.extend.access_token };
const response = await fetch(origin + "/api/v2/devices?limit=25", { headers, credentials: "omit" });
const reply = await response.json();
if (!response.ok) throw new Error(reply.data.message);
const { items, next_cursor } = reply.data;

Responses use a type and data envelope. An empty device page is {"type":"devices","data":{"items":[],"next_cursor":null}}. Send Silicon-Extend-Supported-API-Versions: 2 to GET /api/version to negotiate the account API.

Open the complete OpenAPI contract · Download YAML

Pair, share and use devices

Read /api/v2/organizations for the caller’s current organizations, capabilities and team targets. A personal Carbon pairs a device using its displayed code. An organization owner or admin may pair as either account kind. On an organization pairing, pass its ID and the team IDs within that organization.

POST /api/v2/pairings
Authorization: Bearer TOKEN
Content-Type: application/json
Idempotency-Key: YOUR_OPERATION_UUID

{"type":"pairing","data":{"pairing_code":"4F9C2A","name":"Design tablet","organization_id":"studio","team_ids":["design"]}}

The response is a 201 device envelope. Use its device_id for setup, settings and access. Personal grants name one Silicon by immutable UUID. Organization managers can replace a device’s teams with PUT /api/v2/devices/{device_id}/teams. Every current Carbon and Silicon on a shared team can start a session. Extend rechecks membership when the device is used.

POST /api/v2/sessions takes a device ID. Read the session and device capabilities before issuing a command. The API also covers attachments, takeover, stop, activity, wake and device-use requests, recordings, ranged downloads, retention, notifications and reports. The per-operation schemas describe permissions and bodies.

Choose people and save contacts

Query /api/v2/people?q=ada while someone types. Pass kind=silicon for a personal device grant. Resolve an entered ID with /api/v2/people/resolve?id=si:scout. Use the returned UUID for the action. Show the saved contact photo first, then the Accounts picture, then initials. Fetch a private contact photo from the API using the same account bearer.

After the account chooses Connect, send {"type":"contacts_connection","data":{"enabled":true}} to PUT /api/v2/contacts/connection. Save a contact with POST /api/v2/contacts and {"type":"contact","data":{"id":"si:scout","name":"Scout","trust":2}}. Trust ranges from 1 to 255. Fuzzy search returns higher-trust matches first. Disconnect by setting enabled to false.

Pagination, retries and access changes

Follow opaque next_cursor values on device, session, request, activity and file lists. Contacts uses offset and limit up to 200. People search takes a limit up to 100. Keep an operation’s original idempotency key and body across uncertain retries on routes that support it. Send the device’s quoted version as If-Match when changing shared settings. On 412, reload the device before choosing whether to retry.

Extend validates the token signature, audience, expiry, live token type and subject. On 401, refresh through Accounts or sign in again. On 403, check resource permissions and current organization membership. On 429, wait for the indicated retry interval. On 503, retry with backoff. A 404 can mean the resource is outside the account’s visibility.

Frontends poll account endpoints for updates. The v1 enrollment and device WebSockets use device credentials. Ting delivers configured notifications, and Accounts sends signed lifecycle webhooks to Extend. For integration failures, capture X-Request-ID and submit the details through Settings or POST /api/v2/reports.