Sendforsign Docs

Workspace and people

Sign-in by email and password or through the company's provider, people with roles, teams, a directory for workflows and each person's own agents.

Sign-in

An account is a company's workspace. People sign in to it themselves: email first, then a password, or the company's provider when their address is on a domain with SSO. Someone new creates their own workspace; someone invited joins through a link.

Your app's server keeps the person's session and calls the API as them: POST /v2/auth/signin (or signup, invites/{token}/accept, sso/finish) returns an sfu_… token that works with every ordinary route, with that member's rights. GET /v2/auth/me says who it is, in which workspace and what they may do.

People and roles

Role Gives
Admin people, teams, SSO, keys and webhooks
Author creates and sends documents, sees every document of the workspace
Signer can be asked to sign
Approver can be asked to approve
Reader gets copies

The workspace owner holds every role. Someone without the admin or author role sees only documents they take part in, and only once sent. POST /v2/members creates an invitation and returns invite_url — pass it on (Sendforsign sends no email). PATCH /v2/members/{id} changes roles, teams and access; a member switched off is signed out at once and their agents stop.

Teams (/v2/teams) are groups to find people by; they can follow the provider's groups.

Directory and workflow

GET /v2/directory?q=&role= finds colleagues by name, address, title and team. That is where colleagues come from in a document's workflow: a participant with member acts in their workspace — the document shows up in their "Waiting for me" (GET /v2/documents?waiting=true) and needs no link or email. People outside still get a link. How the workflow runs is in Working together.

On their step an approver — or their agent, at their word — can send the document back with exact edits instead of only a reason: POST /v2/documents/{id}/return with reason and edits (each a block, the exact text in it and what to put instead). It works until someone has signed. The document becomes a draft again, the reason is a comment, each edit a suggestion its author accepts or rejects in the editor or through /suggestions/{id}/accept|reject; then it is sent again and the workflow starts over. Approving stays with the person.

Company sign-in (SSO)

PUT /v2/sso connects the company's OIDC provider (Keycloak, Entra ID, Okta, Google Workspace, Yandex 360 or any other): the provider address (issuer), client_id, client_secret (kept encrypted) and the email domains. Register the redirect address from GET /v2/sso (redirect_uri) with the provider.

  • Someone on those domains becomes a member with default_roles on first sign-in.
  • group_teams puts people into teams by the provider's groups; admin_groups make admins.
  • enforced: true turns passwords off for those domains.
  • The same provider makes connecting agents seamless: a platform that already signs a person in through the company's SSO connects their agent to Sendforsign with no second password.

People's agents

Every member has their own agents, and they act as that member: with the member's roles, never more, named "Agent · Name" in the history.

  • Sign in through MCP. Add https://api2.sendforsign.com/mcp to the agent with no key: the client finds OAuth (/.well-known/oauth-protected-resource), opens Sendforsign's sign-in — by password or the company's SSO — and asks for consent. That is how Claude, Eggent and any MCP client connect.
  • An agent key. POST /v2/agents issues an rk_live_… key bound to the member.

GET /v2/agents lists keys and connected agents; DELETE /v2/agents/{id} disconnects one. Agents prepare, edit, comment, suggest and send; only people sign and approve.