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
TENANT_SSO /api/v1/tenant/sso
TENANT_SSO_DOMAINS /api/v1/tenant/sso/domains
TENANT_SSO_JIT /api/v1/tenant/sso/jit
TENANT_SMTP /api/v1/tenant/smtp
TENANT_SMTP_TEST /api/v1/tenant/smtp/test
TENANT_SSO_SAML /api/v1/tenant/sso/saml
SSO_SAML_ACS /login/saml/acs
TENANT_SSO_DOMAIN /api/v1/tenant/sso/domains/{domain}
TENANT_SSO_DOMAIN_VERIFY /api/v1/tenant/sso/domains/{domain}/verify
TENANT_SCIM_TOKENS /api/v1/tenant/scim/tokens
TENANT_SCIM_TOKEN /api/v1/tenant/scim/tokens/{id}
TENANT_SCIM_TOKEN_ROTATE /api/v1/tenant/scim/tokens/{id}/rotate
TENANT_SCIM_GROUPS /api/v1/tenant/scim/groups
TENANT_SCIM_GROUP /api/v1/tenant/scim/groups/{id}
SCIM_SERVICE_PROVIDER_CONFIG /scim/v2/ServiceProviderConfig
SCIM_RESOURCE_TYPES /scim/v2/ResourceTypes
SCIM_SCHEMAS /scim/v2/Schemas
SCIM_USERS /scim/v2/Users
SCIM_USER /scim/v2/Users/{id}
SCIM_GROUPS /scim/v2/Groups
SCIM_GROUP /scim/v2/Groups/{id}
ME_TWO_FACTOR /api/v1/me/two-factor
ME_TWO_FACTOR_SETUP /api/v1/me/two-factor/setup
ME_TWO_FACTOR_CONFIRM /api/v1/me/two-factor/confirm
ME_TWO_FACTOR_DISABLE /api/v1/me/two-factor/disable
ME_TWO_FACTOR_RECOVERY_CODES /api/v1/me/two-factor/recovery-codes
VAULT_HOST_KEY_EVENTS /api/v1/vaults/{id}/host-key-events
VAULT_SNIPPET_RUNS /api/v1/vaults/{id}/snippet-runs
MEMBER_TIMEZONE /api/v1/organizations/{id}/members/{principal}/timezone
VAULT_MEMBER_SETTLE /api/v1/vaults/{id}/members/{principal}/settle