Gamma API
AccountSessions

List my single sign-on organizations

GET
/api/account/sso-organizations

The organization behind each identity provider the caller signs in through. Deployment-wide providers are left out.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Response Body

OK.

application/json
  1. response
providers*array<>
Example Request
curl -X GET 'http://localhost:3000/api/account/sso-organizations'
Example Response
{  "providers": [    {      "providerId": "string",      "organization": {        "name": "string",        "slug": "string",        "logo": "string"      }    }  ]}