Get a team join link
Returns the team behind a join link and the email domains that can join it. When the request is signed in, also returns the caller’s verified emails and whether the caller can join now. Joining uses POST /v1/teams/{teamId}/join.
/v1/join-links/{token}AuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
tokenstringrequiredThe token from the join link.
Response for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
teamobjectrequiredShow propertiesHide properties
idstringrequiredTeam id.
namestringrequiredTeam display name.
slugstring | nullrequiredTeam slug.
logostring | nullrequiredTeam logo URL.
domainsstring[]requiredEmail domains that may join, sorted. Invitations and system-team offers can also permit joining when this list is empty.
viewerobject | nullrequiredThe signed-in person reading the link, or null when signed out.
Show propertiesHide properties
emailstringrequiredThe viewer's primary email address.
verifiedEmailsstring[]requiredEvery verified email address of the viewer.
statestringrequiredWhat the signed-in viewer can do: can_join (join now), member (already in the team), email_mismatch (no verified email at the team's domains), two_factor_required (turn on two-factor first), self_join_blocked (an admin removed them; they need an invitation), no_domains (the team has no email domains and the viewer has no invitation or system-team offer).
can_joinmemberemail_mismatchtwo_factor_requiredself_join_blockedno_domainsnullProblem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.