Termsheep Cloud is coming soon.Cloud is coming soon.Join the waitlist →

API route overview

Find route templates for the Termsheep platform API, including authentication, vault sync, access requests and organization administration.

Last updated

Use the arrow keys to scroll the table.

Route inventory

Before sending protected requests, fetch GET /api/v1/vault-protocol and require the JSON string VAULT_PROTOCOL_ID (termsheep-protected-vault-v8). A group or host rotation publishes through POST /api/v1/vaults/{id}/rotate and returns a receipt. The initiating device can look up the same operation at GET /api/v1/vaults/{id}/rotations/{operation}/receipt. The response is null before a decision, or a decision with disposition set to committed or refused. If a prepared body has become unsafe to resend, the initiating device can submit only its request digest with POST on the same receipt route. An already committed result takes precedence. GET /api/v1/vaults/{id}/rotations lists pending work. A successful scope publication clears work for the scopes it rotated.

For an MCP command or snippet with an uncertain start, the broker checks the existing run using POST /api/v1/vaults/{id}/snippet-runs?check_start=true and its original run settlement credential. The receipt check reports 204 for a committed start, 425 while it may still arrive, or 410 when it is absent. Recovery never reruns the SSH command.

For open registration on an initialized Cloud-mode server, POST /api/v1/auth/registration/address queues a single-use confirmation link for addresses without an active account and a sign-in notice for addresses with an active account. POST /api/v1/auth/registration/complete completes a pending registration after the person confirms they saved the Emergency Kit.

POST /api/v1/me/fresh-proof/start starts password confirmation on the current device for an account without a second factor. POST /api/v1/me/fresh-proof verifies that proof or the enrolled second factor and records confirmation for ten minutes on the same device. PUT /api/v1/organizations/{id}/admin-second-factor lets an organization admin with fresh confirmation set whether admins must enroll a second factor.

GET /api/v1/organizations/{id}/waiting-access lists entries waiting for key delivery that the signed-in person can see. POST /api/v1/organizations/{id}/waiting-access/{wait}/remind lets the person waiting for keys remind eligible managers once a day. GET /api/v1/me/first-steps reports setup progress for the signed-in person, including whether they have signed in on desktop and whether they own a vault or a team in their default organization has one.

Route templates from the shared protocol. Protected routes require authentication and authorization. Use the wire types in the same source checkout as your server.

Constant Path
ORGANIZATION_TEAMS /api/v1/organizations/{id}/teams
ORGANIZATION /api/v1/organizations/{id}
ADMIN_SECOND_FACTOR /api/v1/organizations/{id}/admin-second-factor
ORGANIZATION_MEMBERS /api/v1/organizations/{id}/members
ORGANIZATION_MEMBER /api/v1/organizations/{id}/members/{principal}
ORGANIZATION_INVITATIONS /api/v1/organizations/{id}/invitations
ORGANIZATION_INVITATION /api/v1/organizations/{id}/invitations/{invitation}
INVITATION_PREVIEW /api/v1/invitations/preview
PROFILE /api/v1/me/profile
ME_KEYS /api/v1/me/keys
AVATAR /api/v1/me/avatar
PRINCIPAL_AVATAR /api/v1/principals/{id}/avatar
VAULT_TREE /api/v1/vaults/{id}/tree
VAULT_CHARTER /api/v1/vaults/{id}/charter
VAULT_ROTATIONS /api/v1/vaults/{id}/rotations
VAULT_ROTATION_RECEIPT /api/v1/vaults/{id}/rotations/{operation}/receipt
ORGANIZATION_ENTITLEMENTS /api/v1/organizations/{id}/entitlements
ENTITLEMENT /api/v1/entitlements/{id}
ENTITLEMENT_REVOKE /api/v1/entitlements/{id}/revoke
MY_GRANTS /api/v1/me/grants
ME_SSH_KEY /api/v1/me/ssh-key
MY_CERTIFICATES /api/v1/me/certificates
VAULT_CERTIFICATES /api/v1/vaults/{id}/certificates
VAULT_WRITERS /api/v1/vaults/{id}/writers
ORGANIZATION_REQUESTS /api/v1/organizations/{id}/requests
ACCESS_REQUEST /api/v1/requests/{id}
ACCESS_REQUEST_VOTES /api/v1/requests/{id}/votes
ACCESS_REQUEST_CANCEL /api/v1/requests/{id}/cancel
WAITING_ACCESS /api/v1/organizations/{id}/waiting-access
WAITING_ACCESS_REMIND /api/v1/organizations/{id}/waiting-access/{wait}/remind
ORGANIZATION_APPROVER_GROUPS /api/v1/organizations/{id}/approver-groups
APPROVER_GROUP /api/v1/approver-groups/{id}
ORGANIZATION_DECISION_REASONS /api/v1/organizations/{id}/decision-reasons
MEMBER_LIMITS /api/v1/organizations/{id}/members/{principal}/limits
ORGANIZATION_WEBHOOKS /api/v1/organizations/{id}/webhooks
WEBHOOK /api/v1/webhooks/{id}
WEBHOOK_ROTATE /api/v1/webhooks/{id}/rotate
WEBHOOK_TEST /api/v1/webhooks/{id}/test
WEBHOOK_DELIVERIES /api/v1/webhooks/{id}/deliveries
ORGANIZATION_AUDIT /api/v1/organizations/{id}/audit
ORGANIZATION_AUDIT_EXPORT /api/v1/organizations/{id}/audit/export
ORGANIZATION_AUDIT_KEYS /api/v1/organizations/{id}/audit/keys
AUDIT_KEY /api/v1/audit-keys/{id}
ORGANIZATION_AUDIT_FEED /api/v1/organizations/{id}/audit/feed
MEMBER_PERMISSIONS /api/v1/organizations/{id}/members/{principal}/permissions
ME_TIMEZONE /api/v1/me/timezone
AUTH_TWO_FACTOR /api/v1/auth/two-factor
AUTH_SSO_START /api/v1/auth/sso/start
AUTH_SSO_FINISH /api/v1/auth/sso/finish
ME_SSO_START /api/v1/me/sso/start