Tarsana docsDashboardMenu

Email me a sign-in link

Session · POST /v1/sign-in-links · MCP tool request-sign-in-link

Sends a sign-in link to your email address. The link works once, for 15 minutes, and following it signs you in. The first time, it also creates your profile; you then name your organisation to create your tenant. You get the same answer whether or not the address already has a profile, and you do not need to be signed in.

You do not need to sign in.

Parameters

NameInRequiredDescription
emailbodyyesYour email address. It becomes the name you sign in with

Returns

A JSON object with these keys: sent_to, delivery, expires_at, guarantee, caller_authenticated.

Example request

curl -X POST https://api.tarsana.io/v1/sign-in-links \
  -H "Content-Type: application/json" \
  --data '{"email": "you@example.com"}'

Example response

{
  "sent_to": "you@example.com",
  "delivery": {
    "transport": "smtp",
    "state": "accepted"
  },
  "expires_at": "2026-10-05T03:15:39Z",
  "guarantee": "namespaces are separated, callers are not authenticated",
  "caller_authenticated": false
}

Errors

CodeHTTPWhat it means
invalid_parameter400A value in your request does not have the expected format, for example a submission ID that is not a spec hash. Check the value against the field's description and try again.
sign_in_refused400We could not sign you in, because the link was already used, has expired or is not one we sent, or because we do not accept your email address. The response says which; ask for a new link on the sign-in page.
sign_in_not_configured503Signing in with an email link is not available on this Tarsana deployment. Contact Tarsana support.
sign_in_rate_limited429Too many sign-in links were asked for from your address, or a link was sent to this email address very recently. Wait for the time given in the response, then try again.
sign_in_delivery_failed502We could not send your sign-in link. Try again in a few minutes; if it keeps happening, contact Tarsana support.
rate_limited429You sent too many requests in a short time. Wait for the number of seconds in retry_after_seconds, then try again.
surface_fault500Something went wrong on our side. Try again later, and contact Tarsana support if it keeps happening.

View this page as Markdown