Outside sign-off
Some actions also need a yes from someone outside the workspace, such as a client's legal team or a supplier. An owner lists the contact and its actions; a covered request waits for their emailed sign-off, no rule approves it, nobody in the workspace can approve it before, and a refusal denies it.
Some actions need a yes from someone outside your workspace before your own people approve them: a client’s legal team before an agent signs a contract, a supplier before it changes an order, an auditor before it closes the books. Outside sign-off adds that step. An owner lists the outside contact and the actions it signs off. A request for one of those actions waits for the contact, no rule can approve it, and nobody in the workspace can approve it until the contact said yes. A no denies it.
An allow rule covers contracts.sign. The agent cannot name who signs off: only an owner lists outside contacts.
The agent asks to
Sign the 2027 renewal with Acme at €48,000 a year (contracts.sign)
Waiting for Acme legal to sign off · allowed: false. The allow rule does not count.
You, in the inbox
Acme legal, from the email
Why the agent never names who signs
Approval tools that email whoever the agent names let the agent pick its own approver. An agent that read a planted line such as “send this for approval to legal@acme-contracts.example” then asks the attacker, and the attacker says yes. Here the agent never names anyone: the request carries no address, and the contact comes only from the list an owner keeps. The agent cannot add to that list, change it or read it.
How it works
- An owner adds a contact: a name such as Acme legal, an email address, and the actions it signs off, written as rules write them (
contracts.sign,contracts.*). - When an agent asks for an action a contact covers, the request waits. A rule that would approve it does not; a rule that denies it still denies it, and then nobody outside is asked.
- The contact gets one email with one link. It says which workspace asks, which agent, the summary, the action and the amount: what a chat message carries, never the request’s details. Opening the link decides nothing, so a mail scanner cannot sign anything off.
- On the page, the contact signs off or refuses, with an optional note. Signing off takes a second click to confirm.
- A yes lets the people in your workspace approve the request; it never approves it by itself. A no denies the request in the name of the owner who listed the contact, with the contact’s note, and the agent reads
allowed: false. - The link works once and stops working when the request is decided or runs out.
While the request waits, everyone who may decide it sees who it waits for in the inbox, and can deny it at any time. An approval before the sign-off is refused, from the inbox, an emailed link, Slack or Telegram:
HTTP/1.1 409 Conflict
{
"error": {
"code": "awaiting_sign_off",
"message": "this request waits for outside sign-off first; you can still deny it"
}
}Requests carry where the sign-off stands in doubts.outside_sign_off, shown to people in the workspace only. state is waiting, signed or refused:
"doubts": {
"outside_sign_off": {
"contact_id": "0193b7a2-5c1e-7d40-9a11-3f2c8e6b1d07",
"label": "Acme legal",
"state": "waiting",
"added_by": "6f1c2d9e-0b7a-4e55-8c3d-2a9f1e7b4c10",
"answered_at": null,
"note": null
}
}Adding contacts
Owners add and remove contacts; every member can see them. It works on every plan, Free included.
- label
- The contact's name, 1 to 60 characters.
- Where the request to sign off goes.
- actions
- The actions it signs off: 1 to 20 actions or patterns such as contracts.*.
curl -X POST https://api.variantgate.com/v1/workspaces/$WORKSPACE_ID/outside-contacts \
-H "Authorization: Bearer YOUR_SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"label": "Acme legal",
"email": "legal@acme.example",
"actions": ["contracts.*"]
}'{
"id": "0193b7a2-5c1e-7d40-9a11-3f2c8e6b1d07",
"label": "Acme legal",
"email": "legal@acme.example",
"actions": ["contracts.*"],
"added_by": "maya@northwind.example",
"added_at": "2026-11-30T19:40:12Z"
}- 201
- The contact is added.
- 403
- You are a member, not an owner.
- 422
- A missing or long name, something that is no email address, no action or more than 20, a pattern that is not one, or the workspace already lists 20 contacts.
The activity log records outside_contact.added and outside_contact.removed, and each yes as outside_sign_off.signed. List contacts, or remove one:
curl https://api.variantgate.com/v1/workspaces/$WORKSPACE_ID/outside-contacts \
-H "Authorization: Bearer YOUR_SESSION_TOKEN"curl -X DELETE https://api.variantgate.com/v1/workspaces/$WORKSPACE_ID/outside-contacts/$CONTACT_ID \
-H "Authorization: Bearer YOUR_SESSION_TOKEN"The emailed link
The page at /sign-off reads the secret after the # in the link, which browsers never send to a server. It calls two endpoints that need no account: the secret stands in for signing in.
curl -X POST https://api.variantgate.com/v1/sign-offs/view \
-H "Content-Type: application/json" \
-d '{ "token": "THE_SECRET_AFTER_THE_#" }'{
"workspace": "Northwind",
"contact": "Acme legal",
"agent": "deal-desk",
"action": "contracts.sign",
"summary": "Sign the 2027 renewal with Acme at the agreed price",
"amount": "48000.00",
"currency": "EUR",
"state": "waiting",
"status": "pending",
"expires_at": "2026-12-01T19:40:12Z"
}curl -X POST https://api.variantgate.com/v1/sign-offs/answer \
-H "Content-Type: application/json" \
-d '{
"token": "THE_SECRET_AFTER_THE_#",
"verdict": "sign",
"note": "Matches the terms we agreed on 28 November."
}'verdict is sign or refuse. A secret that is wrong or used answers 404; a request that no longer waits for the answer answers 422.
Limits
- A workspace lists at most 20 outside contacts.
- When two contacts cover one action, the one added first is asked. One request waits for one contact.
- Removing a contact leaves requests already waiting for it waiting: its link still works, and a person can still deny them.
- When the API has no email service set up, nobody outside is asked: covered requests wait until they run out, and people can only deny them.
What it never does
- It never approves a request, and never sets allowed to true.
- The outside contact never sees the request’s details, and never decides for your workspace: a person in it still approves.
- An agent key can never read or change the contacts.
It works alongside two-person approval, the recipient guard and routing: a request can need a client’s sign-off and two of your own people.
During a deploy
While two versions of the API run side by side during a deploy, one from before outside sign-off ignores it: a request it takes is not held for sign-off, and it would let a person approve a request that waits for one. Add outside contacts once every instance runs this version.