DevelopersAPI referenceAuth & accountsDomains
Accept the suggestion
Joins as member and returns an access token already switched into the workspace. Idempotent for an existing member. The user is also enrolled in the workspace's "General" team in the same transaction, so the returned token's teams[] already carries it.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/me/discoverable/join"{ "workspace": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "kind": "string", "avatar_url": "string", "role": "string", "permissions": [ "string" ], "tools": [ "string" ], "teams": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "my_role": "string" } ] }, "access_token": "string", "expires_at": "2019-08-24T14:15:22Z"}The workspace offered by your email domain
Returns a suggestion only for a verified domain in suggest mode that the caller isn't already a member of — otherwise suggestion is null. auto_join domains never surface here (they add on signup instead).
Liveness probe
Unauthenticated liveness check used by the platform and monitors.